/* Super Paquera Modern Style - Extended */
@import 'style.css';

:root {
    /* Brand Colors */
    --super-gradient: linear-gradient(45deg, #7000ff, #ff007f);
    --super-glass: rgba(255, 255, 255, 0.05);
    --super-border: rgba(255, 255, 255, 0.1);

    /* --- Accent Restoration --- */
    --color-accent: #ff007f;
    /* Pink instead of Gold */
    --color-primary: #7000ff;
    /* Purple instead of Green */

    /* Typography */
    --font-main: 'Inter', sans-serif;
    --text-white: #ffffff;
    --text-muted: #888888;

    /* Spacing & Radii */
    --radius-lg: 20px;
    --radius-xl: 25px;
    --header-height: 70px;
    --nav-height: 80px;
}

/* Base Animations */
.fade-in {
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Glassmorphism Utilities */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
}

.glass-card {
    background: rgba(30, 30, 35, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* Linha sutil */
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.glass-card:hover {
    border-color: rgba(168, 85, 247, 0.4);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    transform: translateY(-5px);
}

/* Modern Input Fields & Lines */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="search"],
select,
textarea {
    width: 100%;
    padding: 12px 20px;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    background: rgba(0, 0, 0, 0.4) !important;
    border-radius: 12px;
    color: white;
    font-family: var(--font-main);
    transition: all 0.3s ease;
    /* Linha de divisão moderna */
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.1);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-primary) !important;
    background: rgba(0, 0, 0, 0.6) !important;
    box-shadow: 0 0 0 2px rgba(168, 85, 247, 0.2), inset 0 -1px 0 transparent;
}

/* Separators */
hr.modern-line {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
    margin: 2rem 0;
}

/* Typography Gradient */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5), 0 0 20px rgba(255, 255, 255, 0.3);
}

/* Section Header styling */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0.5rem auto 0;
}

/* Modal Overlay */
.modal-overlay {
    background: rgba(0, 0, 0, 0.85);
    /* Darker overlay */
    backdrop-filter: blur(8px);
}

/* Custom Scrollbar for modern look */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #0f0f0f;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* --- Paquera App Navigation (Segmented Control + FAB) --- */

.app-sub-header {
    display: none;
    /* Desktop default */
}

/* Floating Action Button for Check-in */
.fab-checkin {
    display: none;
}

@media (max-width: 768px) {

    /* Hide the old sidebar on mobile */
    aside .filter-card {
        display: none !important;
    }

    /* Sub-Header Container */
    .app-sub-header {
        display: flex;
        justify-content: center;
        align-items: center;
        position: fixed;
        /* Fixed to stay at top */
        top: 60px;
        /* Adjust based on main header height */
        left: 0;
        width: 100%;
        z-index: 99;
        padding: 10px 15px;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(15px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    }

    /* Segmented Control (iOS Style) */
    .segmented-control {
        display: flex;
        background: rgba(255, 255, 255, 0.1);
        padding: 4px;
        border-radius: 50px;
        width: 100%;
        max-width: 400px;
        position: relative;
    }

    .segment-btn {
        flex: 1;
        border: none;
        background: transparent;
        color: #aaa;
        padding: 8px 0;
        border-radius: 50px;
        font-weight: 600;
        font-size: 0.85rem;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        z-index: 2;
    }

    .segment-btn.active {
        color: #fff;
        background: linear-gradient(45deg, var(--super-purple), var(--super-pink));
        box-shadow: 0 4px 15px rgba(255, 0, 127, 0.4);
    }

    /* FAB Check-in */
    .fab-checkin {
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        bottom: 90px;
        /* Above bottom nav */
        right: 20px;
        width: 56px;
        height: 56px;
        border-radius: 50%;
        background: var(--color-primary);
        /* Green */
        color: white;
        font-size: 1.5rem;
        border: none;
        box-shadow: 0 4px 20px rgba(16, 185, 129, 0.5);
        z-index: 1001;
        transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
        cursor: pointer;
    }

    .fab-checkin:active {
        transform: scale(0.9);
    }

    /* Adjust Content spacing */
    .app-grid-layout {
        display: block !important;
        margin-top: 60px !important;
        /* Space for fixed sub-header */
    }

    .people-grid-modern {
        padding-top: 15px;
    }
}

/* --- App-Standard Header Overrides Removed for Consistency --- */

/* --- UNIVERSAL APP UI COMPONENTS --- */

.header-super {
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    height: var(--header-height);
    width: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0 20px;
    gap: 15px;
    box-sizing: border-box;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.header-super i.fa-heart {
    font-size: 1.8rem;
    background: var(--super-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 8px rgba(255, 0, 127, 0.4));
    animation: heartPulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes heartPulse {

    0%,
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 8px rgba(255, 0, 127, 0.4));
    }

    50% {
        transform: scale(1.08);
        filter: drop-shadow(0 0 12px rgba(255, 0, 127, 0.6));
    }
}

.header-logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.header-logo-text h1 {
    font-size: 1.3rem;
    font-weight: 900;
    margin: 0;
    letter-spacing: -0.5px;
    color: #fff;
    line-height: 1;
}

.header-logo-text span {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

/* Desktop: wider header */
@media (min-width: 769px) {
    .header-super {
        max-width: 900px;
        border-radius: 0 0 15px 15px;
        padding: 0 30px;
    }
}

.nav-super {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    height: var(--nav-height);
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-bottom: env(safe-area-inset-bottom, 10px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
    z-index: 20000;
}

/* Desktop: wider nav */
@media (min-width: 769px) {
    .nav-super {
        max-width: 900px;
        border-radius: 15px 15px 0 0;
    }
}

.nav-item {
    text-decoration: none;
    color: #666;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    transition: 0.3s;
    flex: 1;
}

.nav-item i {
    font-size: 1.3rem;
}

.nav-item span {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
}

.nav-item.active {
    color: var(--super-pink);
    /* Gold accent for active nav */
}

.nav-item:active {
    transform: scale(0.9);
}

/* Fix for containers to not overlap nav */
body {
    padding-bottom: calc(var(--nav-height) + 20px) !important;
    -webkit-touch-callout: none;
}

@media (max-width: 768px) {
    body {
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }
}

input,
textarea {
    -webkit-user-select: auto;
    user-select: auto;
}