/* CSS Reset & General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

:root {
    --bg-dark: #07000e;
    --bg-card: rgba(28, 4, 43, 0.7);
    --bg-card-hover: rgba(43, 8, 64, 0.85);
    
    --primary-fuchsia: #ff007f;
    --primary-fuchsia-glow: rgba(255, 0, 127, 0.65);
    --primary-fuchsia-dim: rgba(255, 0, 127, 0.15);
    
    --secondary-purple: #3d0066;
    --secondary-purple-light: #8b00ff;
    --secondary-purple-glow: rgba(139, 0, 255, 0.5);
    
    --alert-neon-red: #ff3366;
    --alert-glow: 0 0 10px rgba(255, 51, 102, 0.6);
    
    --text-white: #ffffff;
    --text-muted: #d0c4de;
    --text-dark: #12001a;
    
    --font-main: 'Cairo', sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    --neon-border: 1px solid rgba(255, 0, 127, 0.35);
    --glow-shadow: 0 0 15px var(--primary-fuchsia-glow), 0 0 5px var(--secondary-purple-glow);
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Ambient Background Lights */
.bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.4;
}

.bg-glow-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-fuchsia);
    top: 15%;
    left: -100px;
}

.bg-glow-2 {
    width: 500px;
    height: 500px;
    background: var(--secondary-purple-light);
    bottom: 20%;
    right: -150px;
}

.bg-glow-3 {
    width: 350px;
    height: 350px;
    background: #00f0ff;
    top: 50%;
    left: 40%;
    opacity: 0.15;
}

/* Buttons */
.btn {
    font-family: var(--font-main);
    font-weight: 600;
    padding: 0.6rem 1.4rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-fuchsia), var(--secondary-purple-light));
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(255, 0, 127, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-purple-light), var(--primary-fuchsia));
    box-shadow: 0 6px 20px rgba(255, 0, 127, 0.65);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: var(--primary-fuchsia);
    box-shadow: 0 0 10px rgba(255, 0, 127, 0.35);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-white);
    border: 1px solid var(--primary-fuchsia);
    box-shadow: 0 0 8px rgba(255, 0, 127, 0.2);
}

.btn-outline:hover {
    background: var(--primary-fuchsia);
    box-shadow: var(--glow-shadow);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
    padding: 0.8rem;
}

.btn-lg {
    padding: 0.9rem 2.2rem;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
}

/* Navbar with Neon Glow */
.navbar {
    position: fixed;
    top: 20px;
    left: 5%;
    right: 5%;
    width: 90%;
    z-index: 1000;
    background: rgba(18, 3, 29, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 50px;
    border: var(--neon-border);
    box-shadow: var(--glow-shadow);
    transition: var(--transition-smooth);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 2rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: var(--text-white);
    font-weight: 800;
    font-size: 1.4rem;
}

.logo-heart {
    color: var(--primary-fuchsia);
    font-size: 1.6rem;
    filter: drop-shadow(0 0 5px var(--primary-fuchsia));
    animation: pulse 1.8s infinite;
}

.logo-text {
    background: linear-gradient(120deg, var(--text-white), var(--primary-fuchsia));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-fuchsia);
    text-shadow: 0 0 8px var(--primary-fuchsia-glow);
}

.nav-dashboard-link {
    border: 1px solid rgba(255, 0, 127, 0.25);
    background: rgba(255, 0, 127, 0.05);
}

.alert-badge {
    background-color: var(--alert-neon-red);
    box-shadow: var(--alert-glow);
    color: #fff;
    font-size: 0.75rem;
    padding: 0.1rem 0.45rem;
    border-radius: 10px;
    font-weight: 800;
    margin-right: 0.3rem;
}

.nav-auth {
    display: flex;
    gap: 0.8rem;
}

.nav-auth-mobile {
    display: none;
}

/* Mobile Toggle */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.menu-toggle:hover {
    color: var(--primary-fuchsia);
}

/* Hero Section */
.hero-section {
    padding-top: 120px;
    padding-bottom: 1rem;
}

.banner-wrapper {
    position: relative;
    width: 90%;
    margin: 0 auto;
    height: 460px;
    border-radius: 30px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    border: var(--neon-border);
    box-shadow: var(--glow-shadow);
    transition: background-image 0.5s ease-in-out;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(7, 0, 14, 0.95) 15%, rgba(7, 0, 14, 0.3) 100%);
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    line-height: 1.3;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.6);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* Sections */
.section-container {
    margin-top: 5rem;
    padding: 3.5rem 2.5rem;
    border-radius: 30px;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
}

.container {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

/* Glowing Border for Main Contents */
.glow-border {
    border: var(--neon-border);
    box-shadow: 0 0 20px rgba(255, 0, 127, 0.15), inset 0 0 15px rgba(139, 0, 255, 0.05);
    transition: var(--transition-smooth);
}

.glow-border:hover {
    box-shadow: 0 0 25px rgba(255, 0, 127, 0.25), inset 0 0 20px rgba(139, 0, 255, 0.1);
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 0.8rem;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 25%;
    width: 50%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-fuchsia), transparent);
    border-radius: 2px;
    box-shadow: 0 0 8px var(--primary-fuchsia-glow);
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Filter Bar */
.filter-bar {
    background: rgba(7, 0, 14, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: flex-end;
    margin-bottom: 3rem;
}

.filter-group {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-group label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-fuchsia);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.filter-group select,
.filter-group input {
    background: rgba(28, 4, 43, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1rem;
    border-radius: 12px;
    color: var(--text-white);
    font-family: var(--font-main);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    outline: none;
}

.filter-group select:focus,
.filter-group input:focus {
    border-color: var(--primary-fuchsia);
    box-shadow: 0 0 8px var(--primary-fuchsia-glow);
}

/* Profiles Grid & Cards */
.profiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.profile-card {
    background: rgba(20, 2, 33, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.profile-card:hover {
    transform: translateY(-8px);
    background: var(--bg-card-hover);
    border-color: rgba(255, 0, 127, 0.4);
    box-shadow: 0 8px 25px rgba(255, 0, 127, 0.15);
}

.profile-img-container {
    position: relative;
    height: 220px;
    width: 100%;
    overflow: hidden;
}

.profile-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.profile-card:hover .profile-img-container img {
    transform: scale(1.08);
}

.profile-gender-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 0.3rem 0.8rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    z-index: 2;
}

.badge-male {
    background: rgba(0, 140, 255, 0.85);
    border: 1px solid #00f0ff;
    color: #fff;
    box-shadow: 0 0 10px rgba(0, 140, 255, 0.3);
}

.badge-female {
    background: rgba(255, 0, 127, 0.85);
    border: 1px solid #ff5ebb;
    color: #fff;
    box-shadow: 0 0 10px rgba(255, 0, 127, 0.3);
}

.profile-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.profile-name-age {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.6rem;
}

.profile-name-age h3 {
    font-size: 1.15rem;
    font-weight: 700;
}

.profile-age {
    background: var(--primary-fuchsia-dim);
    color: var(--primary-fuchsia);
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 700;
    border: 1px solid rgba(255, 0, 127, 0.2);
}

.profile-meta-item {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.profile-meta-item i {
    color: var(--primary-fuchsia);
    width: 16px;
}

.profile-bio {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-top: 0.8rem;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}

.profile-actions {
    margin-top: auto;
}

/* Vision Cards */
.vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.vision-card {
    background: rgba(20, 2, 33, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 2.5rem 2rem;
    border-radius: 24px;
    text-align: center;
    transition: var(--transition-smooth);
}

.vision-card:hover {
    transform: translateY(-5px);
    background: var(--bg-card-hover);
    border-color: rgba(255, 0, 127, 0.35);
    box-shadow: 0 8px 25px rgba(255, 0, 127, 0.15);
}

.vision-icon {
    font-size: 2.8rem;
    color: var(--primary-fuchsia);
    margin-bottom: 1.5rem;
    display: inline-block;
    filter: drop-shadow(0 0 10px var(--primary-fuchsia-glow));
}

.vision-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.vision-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Goals Timeline */
.goals-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.goals-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 40px;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-fuchsia), var(--secondary-purple-light));
    box-shadow: 0 0 8px var(--primary-fuchsia-glow);
}

.goal-item {
    position: relative;
    margin-bottom: 3rem;
    padding-right: 80px;
}

.goal-item:last-child {
    margin-bottom: 0;
}

.goal-number {
    position: absolute;
    right: 15px;
    top: 0;
    width: 52px;
    height: 52px;
    background: var(--bg-dark);
    border: 2px solid var(--primary-fuchsia);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-fuchsia);
    font-weight: 800;
    font-size: 1.25rem;
    box-shadow: 0 0 12px var(--primary-fuchsia-glow);
    z-index: 2;
}

.goal-content {
    background: rgba(20, 2, 33, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 1.8rem;
    border-radius: 20px;
    transition: var(--transition-smooth);
}

.goal-content:hover {
    background: var(--bg-card-hover);
    border-color: rgba(255, 0, 127, 0.3);
    box-shadow: 0 5px 20px rgba(255, 0, 127, 0.1);
}

.goal-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--primary-fuchsia);
}

.goal-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Privacy Accordion */
.privacy-content {
    max-width: 800px;
    margin: 0 auto;
}

.privacy-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-item {
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(20, 2, 33, 0.3);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.accordion-header {
    width: 100%;
    background: transparent;
    border: none;
    padding: 1.2rem 1.8rem;
    color: var(--text-white);
    font-family: var(--font-main);
    font-size: 1.1rem;
    font-weight: 700;
    text-align: right;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-smooth);
}

.accordion-header:hover {
    color: var(--primary-fuchsia);
    background: rgba(255, 255, 255, 0.02);
}

.accordion-header i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.accordion-header.active {
    color: var(--primary-fuchsia);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.accordion-header.active i {
    transform: rotate(180deg);
}

.accordion-body {
    padding: 1.5rem 1.8rem;
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.7;
    display: none;
    background: rgba(7, 0, 14, 0.4);
}

/* ==========================================
   Chats Layout Section
   ========================================== */
.chats-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    height: 600px;
    background: rgba(14, 1, 23, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
}

.chats-sidebar {
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(20, 2, 33, 0.8);
    display: flex;
    flex-direction: column;
}

.sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-fuchsia);
}

.chats-list {
    list-style: none;
    overflow-y: auto;
    flex-grow: 1;
}

.chat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.chat-item:hover,
.chat-item.active {
    background: rgba(255, 0, 127, 0.08);
}

.chat-item-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary-purple), var(--primary-fuchsia));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 0 10px rgba(255, 0, 127, 0.2);
}

.chat-item-info {
    flex-grow: 1;
}

.chat-item-info h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.chat-item-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
}

.compat-tag {
    color: var(--primary-fuchsia);
    font-weight: 700;
}

.status-locked {
    color: #ffaa00;
}

.status-approved {
    color: #00ffaa;
}

/* Chat Window Panel */
.chat-window {
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    background: rgba(7, 0, 14, 0.4);
}

.chat-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 2rem;
    text-align: center;
    color: var(--text-muted);
}

.chat-empty-state i {
    font-size: 4rem;
    color: var(--primary-fuchsia-glow);
    margin-bottom: 1.5rem;
    animation: float 3s ease-in-out infinite;
}

.chat-empty-state .info-note {
    font-size: 0.8rem;
    margin-top: 1rem;
    opacity: 0.6;
}

/* Locked Chat Window */
.chat-locked-state {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 2rem;
}

.lock-card {
    background: rgba(20, 2, 33, 0.9);
    border: 1px solid rgba(255, 0, 127, 0.3);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    padding: 3rem 2rem;
    border-radius: 24px;
    max-width: 480px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}

.lock-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 0, 127, 0.1);
    color: var(--primary-fuchsia);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 0 15px var(--primary-fuchsia-glow);
    animation: pulse 2s infinite;
}

.lock-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
}

.lock-desc {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.status-badge-pending {
    background: rgba(255, 170, 0, 0.15);
    border: 1px solid #ffaa00;
    color: #ffaa00;
    padding: 0.4rem 1.2rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 0 8px rgba(255, 170, 0, 0.2);
}

/* Active Unlocked Chat */
.chat-active-state {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.chat-header {
    padding: 1.2rem 1.5rem;
    background: rgba(20, 2, 33, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-partner-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.partner-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-fuchsia), var(--secondary-purple-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.chat-partner-info h4 {
    font-size: 1.05rem;
    font-weight: 700;
}

.chat-compatibility-tag {
    font-size: 0.8rem;
    color: var(--primary-fuchsia);
    font-weight: 700;
}

.chat-status-badge-approved {
    background: rgba(0, 255, 170, 0.1);
    border: 1px solid #00ffaa;
    color: #00ffaa;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    box-shadow: 0 0 8px rgba(0, 255, 170, 0.15);
}

.chat-messages {
    flex-grow: 1;
    padding: 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Chat Bubbles */
.message {
    max-width: 70%;
    padding: 0.8rem 1.2rem;
    border-radius: 20px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.message-incoming {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-white);
    border-bottom-right-radius: 4px;
}

.message-outgoing {
    align-self: flex-end;
    background: linear-gradient(135deg, var(--primary-fuchsia), var(--secondary-purple-light));
    color: var(--text-white);
    border-bottom-left-radius: 4px;
    box-shadow: 0 4px 10px rgba(255, 0, 127, 0.2);
}

.chat-input-area {
    padding: 1.2rem;
    background: rgba(20, 2, 33, 0.9);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    gap: 1rem;
}

.chat-input-area input {
    flex-grow: 1;
    background: rgba(7, 0, 14, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 0.75rem 1.5rem;
    color: var(--text-white);
    font-family: var(--font-main);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-smooth);
}

.chat-input-area input:focus {
    border-color: var(--primary-fuchsia);
    box-shadow: 0 0 8px var(--primary-fuchsia-glow);
}

/* ==========================================
   Admin Control Panel Layout
   ========================================== */
.dashboard-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    margin-top: 1.5rem;
}

.dashboard-sidebar {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    background: rgba(20, 2, 33, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 1.2rem;
    border-radius: 20px;
}

.db-tab-btn {
    width: 100%;
    background: transparent;
    border: none;
    padding: 0.85rem 1.2rem;
    border-radius: 12px;
    color: var(--text-muted);
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 0.95rem;
    text-align: right;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: var(--transition-smooth);
}

.db-tab-btn:hover {
    color: var(--primary-fuchsia);
    background: rgba(255, 0, 127, 0.04);
}

.db-tab-btn.active {
    color: var(--text-white);
    background: linear-gradient(135deg, var(--primary-fuchsia), var(--secondary-purple));
    box-shadow: var(--glow-shadow);
}

.alert-count-pill {
    background: var(--alert-neon-red);
    box-shadow: var(--alert-glow);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.15rem 0.5rem;
    border-radius: 10px;
    margin-right: auto;
}

.dashboard-content {
    background: rgba(20, 2, 33, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 2.2rem;
    border-radius: 20px;
    min-height: 500px;
}

.db-tab-panel {
    display: none;
}

.db-tab-panel.active {
    display: block;
    animation: fadeIn 0.4s ease-out;
}

.panel-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.panel-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* User Management Table Styles */
.table-responsive {
    width: 100%;
    overflow-x: auto;
}

.db-table {
    width: 100%;
    border-collapse: collapse;
    text-align: right;
    font-size: 0.95rem;
}

.db-table th {
    padding: 1rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.08);
    color: var(--primary-fuchsia);
    font-weight: 700;
}

.db-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
}

.db-table tr:hover td {
    color: var(--text-white);
    background: rgba(255, 255, 255, 0.02);
}

/* Glowing toggle switches */
.switch-label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    position: relative;
}

.switch-input {
    display: none;
}

.switch-slider {
    width: 48px;
    height: 24px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    position: relative;
    transition: var(--transition-smooth);
}

.switch-slider::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    left: 2px;
    bottom: 2px;
    background-color: var(--text-muted);
    border-radius: 50%;
    transition: var(--transition-smooth);
}

.switch-input:checked + .switch-slider {
    background-color: var(--primary-fuchsia-glow);
    border-color: var(--primary-fuchsia);
    box-shadow: 0 0 10px var(--primary-fuchsia-glow);
}

.switch-input:checked + .switch-slider::before {
    transform: translateX(24px);
    background-color: #fff;
}

.status-badge-table {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 12px;
}

.badge-active {
    background: rgba(0, 255, 170, 0.1);
    border: 1px solid #00ffaa;
    color: #00ffaa;
}

.badge-inactive {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-muted);
}

.db-role-select {
    background: rgba(28, 4, 43, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 0.35rem 0.8rem;
    border-radius: 8px;
    font-family: var(--font-main);
    font-size: 0.85rem;
    outline: none;
    transition: var(--transition-smooth);
}

.db-role-select:focus {
    border-color: var(--primary-fuchsia);
    box-shadow: 0 0 6px var(--primary-fuchsia-glow);
}

/* Matches Grid Panel */
.matches-panel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.match-pair-card {
    background: rgba(20, 2, 33, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    transition: var(--transition-smooth);
}

.match-pair-card:hover {
    border-color: rgba(255, 0, 127, 0.3);
    box-shadow: 0 5px 15px rgba(255, 0, 127, 0.08);
}

.match-pair-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 0.8rem;
}

.compat-percentage-glow {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary-fuchsia);
    text-shadow: 0 0 8px var(--primary-fuchsia-glow);
    background: var(--primary-fuchsia-dim);
    padding: 0.3rem 0.8rem;
    border-radius: 30px;
    border: 1px solid rgba(255, 0, 127, 0.2);
}

.match-pair-bodies {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 0.5rem;
}

.match-user-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    text-align: center;
}

.node-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.node-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: #fff;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.node-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.match-connector {
    flex-grow: 1;
    height: 2px;
    background: linear-gradient(90deg, #8b00ff, #ff007f, #8b00ff);
    position: relative;
    box-shadow: 0 0 5px var(--primary-fuchsia-glow);
}

.match-connector i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--primary-fuchsia);
    font-size: 0.8rem;
}

.chat-activation-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.8rem 1.2rem;
    border-radius: 14px;
}

.status-label-flex {
    display: flex;
    flex-direction: column;
}

.status-lbl {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.status-val {
    font-size: 0.88rem;
    font-weight: 700;
}

/* Match Alerts Panel */
.panel-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.alerts-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.alert-item-box {
    background: rgba(255, 51, 102, 0.06);
    border: 1px solid rgba(255, 51, 102, 0.3);
    box-shadow: 0 0 10px rgba(255, 51, 102, 0.05);
    border-radius: 16px;
    padding: 1.2rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: pulseGlowAlert 2s infinite ease-in-out;
}

.alert-item-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.alert-icon-ring {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 51, 102, 0.15);
    border: 1px solid var(--alert-neon-red);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--alert-neon-red);
    font-size: 1.2rem;
    box-shadow: var(--alert-glow);
}

.alert-msg-body h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.2rem;
}

.alert-msg-body p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.alert-time {
    font-size: 0.8rem;
    color: var(--text-muted);
}

@keyframes pulseGlowAlert {
    0% { border-color: rgba(255, 51, 102, 0.3); box-shadow: 0 0 10px rgba(255, 51, 102, 0.05); }
    50% { border-color: rgba(255, 51, 102, 0.6); box-shadow: 0 0 18px rgba(255, 51, 102, 0.15); }
    100% { border-color: rgba(255, 51, 102, 0.3); box-shadow: 0 0 10px rgba(255, 51, 102, 0.05); }
}

/* Banner Administration Panel */
.banner-upload-box {
    background: rgba(255, 0, 127, 0.02);
    border: 2px dashed rgba(255, 0, 127, 0.3);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.banner-upload-box:hover {
    background: rgba(255, 0, 127, 0.06);
    border-color: var(--primary-fuchsia);
}

.cloud-icon {
    font-size: 3rem;
    color: var(--primary-fuchsia);
    filter: drop-shadow(0 0 8px var(--primary-fuchsia-glow));
    margin-bottom: 0.5rem;
}

.banner-upload-box h4 {
    font-size: 1.2rem;
    font-weight: 700;
}

.banner-upload-box p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.banner-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
}

.banner-gallery-item {
    background: rgba(20, 2, 33, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition-smooth);
}

.banner-gallery-item:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 0, 127, 0.3);
}

.banner-gallery-item.active {
    border-color: var(--primary-fuchsia);
    box-shadow: var(--glow-shadow);
}

.banner-thumb {
    height: 120px;
    background-size: cover;
    background-position: center;
    width: 100%;
}

.active-banner-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary-fuchsia);
    color: #fff;
    padding: 0.2rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 10px;
    box-shadow: 0 0 8px var(--primary-fuchsia-glow);
}

.banner-item-info {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    flex-grow: 1;
}

.banner-item-info h5 {
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.banner-item-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: auto;
}

/* Stats Cards Panel */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.stat-card {
    background: rgba(20, 2, 33, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 18px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    transition: var(--transition-smooth);
}

.stat-card:hover {
    border-color: rgba(139, 0, 255, 0.3);
    transform: translateY(-2px);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #b000ff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.stat-info h4 {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
}

.stat-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Modals System Extensions */
.modal-box-large {
    max-width: 800px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group textarea {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    color: var(--text-white);
    font-family: var(--font-main);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-smooth);
    resize: vertical;
}

.form-group textarea:focus {
    border-color: var(--primary-fuchsia);
    background: rgba(255, 0, 127, 0.03);
    box-shadow: 0 0 10px rgba(255, 0, 127, 0.25);
}

/* Footer Section */
.footer {
    background: #040008;
    border-top: var(--neon-border);
    box-shadow: 0 -5px 25px rgba(255, 0, 127, 0.15);
    margin-top: 7rem;
    padding-top: 4rem;
    padding-bottom: 2rem;
}

.footer-container {
    width: 90%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 1rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-links h3,
.footer-contact h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary-fuchsia);
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-muted);
    transition: var(--transition-smooth);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary-fuchsia);
    padding-right: 6px;
}

.footer-contact p {
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
}

.footer-contact i {
    color: var(--primary-fuchsia);
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
    text-decoration: none;
}

.social-icons a:hover {
    background: var(--primary-fuchsia);
    color: var(--text-white);
    box-shadow: var(--glow-shadow);
    transform: scale(1.1);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    padding-top: 2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Modals System */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(7, 0, 14, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    overflow-y: auto;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-box {
    background: linear-gradient(145deg, #180026 0%, #080010 100%);
    border: var(--neon-border);
    box-shadow: var(--glow-shadow);
    width: 100%;
    max-width: 520px;
    border-radius: 28px;
    padding: 2.5rem;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    margin: auto;
}

.modal-overlay.active .modal-box {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 1.8rem;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
    transition: var(--transition-smooth);
}

.modal-close:hover {
    color: var(--primary-fuchsia);
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-header h2 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.modal-header h2 i {
    color: var(--primary-fuchsia);
    filter: drop-shadow(0 0 5px var(--primary-fuchsia-glow));
}

.modal-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.form-group label i {
    color: var(--primary-fuchsia);
}

.form-group input,
.form-group select {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    color: var(--text-white);
    font-family: var(--font-main);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary-fuchsia);
    background: rgba(255, 0, 127, 0.03);
    box-shadow: 0 0 10px rgba(255, 0, 127, 0.25);
}

.modal-footer {
    margin-top: 1.8rem;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.modal-footer a {
    color: var(--primary-fuchsia);
    text-decoration: none;
    font-weight: 700;
}

.modal-footer a:hover {
    text-decoration: underline;
}

/* Toast Feedback Alert */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(24, 0, 38, 0.92);
    border: var(--neon-border);
    box-shadow: var(--glow-shadow);
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 16px;
    font-family: var(--font-main);
    font-weight: 600;
    z-index: 3000;
    transform: translateY(100px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
    pointer-events: none;
    max-width: 320px;
    text-align: center;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* Profile Fallback Gradient Silhouette */
.profile-placeholder-gradient {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2c0245, #5f016d, #b50280);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 4rem;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

/* Animations */
@keyframes pulse {
    0% { transform: scale(1); filter: drop-shadow(0 0 3px var(--primary-fuchsia)); }
    50% { transform: scale(1.08); filter: drop-shadow(0 0 12px var(--primary-fuchsia)); }
    100% { transform: scale(1); filter: drop-shadow(0 0 3px var(--primary-fuchsia)); }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.animate-pop-in {
    animation: popIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.animate-slide-up {
    animation: slideUp 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

@keyframes popIn {
    0% { transform: scale(0.85); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes slideUp {
    0% { transform: translateY(30px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .nav-auth {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .navbar {
        border-radius: 25px;
    }
    
    /* Mobile nav overlay */
    .nav-links.mobile-active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(18, 3, 29, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: var(--neon-border);
        border-radius: 24px;
        padding: 2rem;
        box-shadow: var(--glow-shadow);
        gap: 1.2rem;
        text-align: center;
        max-height: 500px;
        overflow-y: auto;
    }
    
    .nav-links.mobile-active a {
        justify-content: center;
        font-size: 1.1rem;
        padding: 0.6rem;
    }
    
    .nav-auth-mobile {
        display: flex;
        justify-content: center;
        gap: 1rem;
        margin-top: 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        padding-top: 1.5rem;
    }

    .chats-layout {
        grid-template-columns: 1fr;
        height: auto;
    }

    .chats-sidebar {
        height: 200px;
        border-left: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .chat-window {
        height: 450px;
    }

    .dashboard-layout {
        grid-template-columns: 1fr;
    }

    .dashboard-sidebar {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .db-tab-btn {
        width: auto;
        flex: 1 1 200px;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding-top: 100px;
    }
    
    .banner-wrapper {
        height: 380px;
        width: 95%;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .goals-timeline::before {
        right: 25px;
    }
    
    .goal-item {
        padding-right: 55px;
    }
    
    .goal-number {
        right: 5px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .section-container {
        padding: 2rem 1.2rem;
        width: 95%;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full-width {
        grid-column: span 1;
    }

    /* Mobile modal scrollability and fit */
    .modal-box {
        padding: 1.5rem;
        border-radius: 20px;
        max-height: 88vh;
        overflow-y: auto;
        margin: 20px auto;
    }
}

/* ==========================================================================
   13. New Enhanced Features Styles (Tawfeeq Enhancements)
   ========================================================================== */

/* Physical Traits Badges */
.profile-physical-traits {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.6rem;
    margin-bottom: 0.6rem;
}

.trait-badge {
    background: rgba(255, 0, 127, 0.05);
    border: 1px solid rgba(255, 0, 127, 0.15);
    color: #e0d0eb;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.3s ease;
}

.trait-badge i {
    color: var(--primary-fuchsia);
}

.trait-badge:hover {
    background: rgba(255, 0, 127, 0.1);
    border-color: rgba(255, 0, 127, 0.3);
    transform: translateY(-1px);
}

/* Public Stats Card Hover */
.pub-stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-fuchsia) !important;
    box-shadow: 0 10px 25px rgba(255, 0, 127, 0.15) !important;
}

/* User Alerts and Notifications */
.user-alerts-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.user-alert-card {
    background: rgba(30, 0, 48, 0.4);
    border: 1px solid rgba(255, 0, 127, 0.15);
    border-radius: 12px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    transition: all 0.3s ease;
}

.user-alert-card:hover {
    background: rgba(30, 0, 48, 0.6);
    border-color: var(--primary-fuchsia);
    box-shadow: 0 4px 15px rgba(255, 0, 127, 0.1);
}

.user-alert-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: right;
}

.user-alert-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 0, 127, 0.1);
    border: 1px solid rgba(255, 0, 127, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-fuchsia);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.user-alert-text h4 {
    margin: 0;
    font-size: 0.95rem;
    color: #fff;
    font-weight: 700;
}

.user-alert-text p {
    margin: 4px 0 0 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Pulse Dot Animation */
.pulse-dot {
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 255, 170, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(0, 255, 170, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 255, 170, 0);
    }
}

