/* Media Agency Portal Form Styles */
.map-form { max-width: 500px; border: 1px solid #ccc; padding: 20px; border-radius: 5px; background: #f9f9f9; }
.map-form h3 { margin-top: 0; border-bottom: 2px solid #eee; padding-bottom: 10px; }
.map-form p { margin-bottom: 15px; }
.map-form label { display: block; margin-bottom: 5px; font-weight: bold; }
.map-form input[type="text"], .map-form input[type="email"], .map-form input[type="password"], .map-form input[type="number"], .map-form textarea { width: 100%; padding: 8px; border: 1px solid #ddd; border-radius: 3px; box-sizing: border-box; }
.map-form input[type="submit"] { width: auto; padding: 10px 20px; background-color: #0073aa; color: white; border: none; border-radius: 3px; cursor: pointer; font-size: 16px; }
.map-form input[type="submit"]:hover { background-color: #005a87; }

/* DASHBOARD STYLES */
.map-dashboard { max-width: 700px; border: 1px solid #ccc; padding: 20px; border-radius: 5px; background: #fff; position: relative; margin: 2em auto; }
.map-profile-details p { font-size: 16px; line-height: 1.6; margin: 0 0 10px; }
.map-profile-details strong { display: inline-block; width: 180px; color: #555; }
.map-dashboard-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid #eee; padding-bottom: 10px; margin-bottom: 20px; }
.map-dashboard-header h3 { margin: 0; padding: 0; border: none; }
.map-dashboard-actions { display: flex; gap: 10px; }
.map-edit-button { position: static; text-decoration: none; background: #0073aa; color: #fff; padding: 8px 15px; border-radius: 3px; font-size: 14px; }
.map-edit-button:hover { background: #005a87; }
.map-logout-button { text-decoration: none; background: #d63638; color: #fff; padding: 8px 15px; border-radius: 3px; font-size: 14px; }
.map-logout-button:hover { background: #b22222; }

/* SEARCH PAGE STYLES */
.map-search-form { background: #f9f9f9; padding: 20px; border-radius: 5px; border: 1px solid #ddd; margin-bottom: 40px; }
.map-search-form form { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-end; }
.map-form-group { display: flex; flex-direction: column; }
.map-form-group label { font-weight: bold; margin-bottom: 8px; }
.map-form-group input[type="text"], .map-form-group input[type="number"] { padding: 10px; border: 1px solid #ccc; border-radius: 4px; font-size: 16px; }
.map-subscriber-range { display: flex; align-items: center; gap: 10px; }
.map-subscriber-range input { width: 100px; }
.map-search-button { padding: 10px 25px; background-color: #0073aa; color: white; border: none; border-radius: 4px; cursor: pointer; font-size: 16px; font-weight: bold; }
.map-search-button:hover { background-color: #005a87; }
.map-search-results h3 { border-bottom: 2px solid #eee; padding-bottom: 10px; }
.map-profile-card { border: 1px solid #ddd; border-radius: 5px; padding: 20px; margin-bottom: 20px; background: #fff; position: relative; }
.map-profile-card h4 { margin: 0 0 10px; font-size: 20px; }
.map-profile-card h4 a { text-decoration: none; color: #333; }
.map-profile-card h4 a:hover { color: #0073aa; }
.map-profile-card p { margin: 0 0 8px; color: #555; }
.map-view-profile-button { position: absolute; top: 20px; right: 20px; text-decoration: none; background: #0073aa; color: #fff; padding: 8px 15px; border-radius: 3px; font-size: 14px; }
.map-view-profile-button:hover { background: #005a87; }

/* SINGLE PROFILE PAGE & CONNECTION BUTTON STYLES */
.single-profile-wrapper .map-dashboard-header { margin-bottom: 30px; }
.map-connect-area { margin-top: 30px; padding-top: 20px; border-top: 2px solid #eee; text-align: right; }
.map-connect-button, .map-connect-button-disabled { font-size: 16px; font-weight: bold; padding: 12px 25px; border-radius: 5px; border: none; }
.map-connect-button { background: #2271b1; color: #fff; cursor: pointer; }
.map-connect-button:hover { background: #185f8f; }
.map-connect-button-disabled { background: #ccc; color: #777; cursor: not-allowed; }
.map-connection-approved { font-size: 16px; font-weight: bold; color: #228B22; }

/* MY CONNECTIONS PAGE STYLES */
.map-connections-section { margin-bottom: 40px; }
.map-connections-section h4 { border-bottom: 2px solid #eee; padding-bottom: 10px; margin-bottom: 20px; font-size: 20px; }
.map-connection-item { display: flex; justify-content: space-between; align-items: center; padding: 15px; border: 1px solid #ddd; border-radius: 4px; margin-bottom: 10px; }
.map-connection-item.approved { background-color: #f9f9f9; }
.map-connection-info a { font-weight: bold; text-decoration: none; color: #2271b1; }
.map-connection-info a:hover { text-decoration: underline; }
.map-connection-contact { margin-left: 10px; color: #777; font-size: 14px; }
.map-connection-actions { display: flex; gap: 10px; }
.map-connection-actions form { margin: 0; }
.map-approve-button, .map-decline-button { border: none; border-radius: 3px; padding: 8px 15px; font-size: 14px; cursor: pointer; }
.map-approve-button { background-color: #228B22; color: #fff; }
.map-approve-button:hover { background-color: #1a681a; }
.map-decline-button { background-color: #d63638; color: #fff; }
.map-decline-button:hover { background-color: #b22222; }