/* =============================================
   DesiThrill Dating Core - dating.css
   ============================================= */

/* Dashboard Tabs */
.dt-tabs {
    display: flex;
    border-bottom: 2px solid var(--border);
    margin-bottom: 28px;
    overflow-x: auto;
    gap: 0;
}
.dt-tab {
    padding: 12px 22px;
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    white-space: nowrap;
    transition: all .2s;
    text-decoration: none;
}
.dt-tab:hover { color: var(--rose); }
.dt-tab.active {
    color: var(--rose);
    border-bottom-color: var(--rose);
}

/* Profile edit form grid */
.dt-profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
@media (max-width: 600px) { .dt-profile-grid { grid-template-columns: 1fr; } }

/* Upload zone */
.dt-upload-zone {
    border: 2px dashed var(--border-dark);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
    cursor: pointer;
    transition: border-color .2s, background .2s;
}
.dt-upload-zone:hover {
    border-color: var(--rose);
    background: var(--rose-pale);
}
.dt-upload-zone input[type="file"] {
    display: none;
}

/* Members page layout */
.dt-members-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 28px;
    align-items: start;
}
.dt-sidebar-filters {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    position: sticky;
    top: 88px;
}
@media (max-width: 800px) {
    .dt-members-layout { grid-template-columns: 1fr; }
    .dt-sidebar-filters { position: static; }
}

/* Pagination */
.dt-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
    flex-wrap: wrap;
}
.dt-page-btn {
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    background: var(--white);
    color: var(--muted);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all .2s;
    text-decoration: none;
}
.dt-page-btn:hover, .dt-page-btn.active {
    background: var(--rose);
    border-color: var(--rose);
    color: var(--white);
}

/* Profile completeness bar */
.dt-progress-bar {
    background: var(--border);
    border-radius: 20px;
    height: 8px;
    overflow: hidden;
    margin: 8px 0;
}
.dt-progress-fill {
    height: 100%;
    border-radius: 20px;
    background: linear-gradient(90deg, var(--rose), var(--rose-mid));
    transition: width .5s ease;
}

/* Notification badge */
.dt-notif-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px; height: 20px;
    background: var(--rose);
    color: white;
    font-size: 11px;
    font-weight: 700;
    border-radius: 50%;
    vertical-align: middle;
    margin-left: 4px;
}

/* Contact request card */
.dt-contact-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--white);
    margin-bottom: 10px;
}
.dt-contact-card-avatar {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--rose-light);
    overflow: hidden;
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
}
.dt-contact-btns { display: flex; gap: 8px; margin-left: auto; flex-shrink: 0; }

/* Smiles list */
.dt-smile-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}
.dt-smile-item:last-child { border-bottom: none; }
.dt-smile-emoji { font-size: 22px; }

/* Premium lock overlay */
.dt-locked-feature {
    position: relative;
    filter: blur(4px);
    pointer-events: none;
    user-select: none;
}
.dt-lock-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255,249,251,0.85);
    backdrop-filter: blur(2px);
    border-radius: var(--radius);
    z-index: 10;
    padding: 24px;
    text-align: center;
}
.dt-lock-icon { font-size: 32px; margin-bottom: 10px; }
.dt-lock-title { font-size: 16px; font-weight: 600; color: var(--deep); margin-bottom: 8px; }
.dt-lock-desc  { font-size: 13px; color: var(--muted); margin-bottom: 16px; }

/* Geolocation search indicator */
.dt-geo-searching {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--muted);
    padding: 10px 0;
}
.dt-geo-spinner {
    width: 16px; height: 16px;
    border: 2px solid var(--border);
    border-top-color: var(--rose);
    border-radius: 50%;
    animation: dt-spin 0.8s linear infinite;
}
@keyframes dt-spin { to { transform: rotate(360deg); } }

/* Astro compatibility widget */
.dt-astro-widget {
    background: var(--rose-pale);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
}
.dt-astro-signs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-size: 28px;
    margin-bottom: 12px;
}
.dt-astro-score-circle {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: var(--rose);
    color: white;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; font-weight: 700;
}
.dt-astro-label {
    font-size: 13px;
    color: var(--muted);
    margin-top: 8px;
}

/* Webcam UI */
.dt-video-wrap {
    background: #000;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    aspect-ratio: 16/9;
    max-width: 800px;
    margin: 0 auto;
}
.dt-video-remote {
    width: 100%; height: 100%;
    object-fit: cover;
}
.dt-video-local {
    position: absolute;
    bottom: 80px; right: 16px;
    width: 22%;
    border-radius: var(--radius-sm);
    border: 2px solid white;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.dt-video-local video { width: 100%; display: block; }
.dt-video-status {
    position: absolute;
    top: 16px; left: 50%; transform: translateX(-50%);
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
}
.dt-video-controls {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 16px;
    display: flex;
    justify-content: center;
    gap: 12px;
}
.dt-ctrl-btn {
    width: 48px; height: 48px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-size: 20px;
    display: flex; align-items: center; justify-content: center;
    transition: transform .2s, opacity .2s;
}
.dt-ctrl-btn:hover { transform: scale(1.1); }
.dt-ctrl-btn--end    { background: #F44336; color: white; }
.dt-ctrl-btn--mute   { background: rgba(255,255,255,0.2); color: white; }
.dt-ctrl-btn--cam    { background: rgba(255,255,255,0.2); color: white; }
.dt-ctrl-btn--muted  { background: #F44336; color: white; }
