:root {
    --bg-dark: #05070a;
    --bg-card: rgba(10, 15, 30, 0.8);
    --cyan: #00ffcc;
    --cyan-glow: rgba(0, 255, 204, 0.15);
    --orange: #ff4500;
    --orange-light: #ff6326;
    --cp-orange: #f58220;
    --cp-blue: #007bbd;
    --text-primary: #ffffff;
    --text-secondary: #a0a8b8;
    --text-muted: #667085;
    --border: rgba(255, 255, 255, 0.06);
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --purple: #6b4ee6;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}
.bg-layer {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background-image: url("/Frontend/img/upscalemedia-transformed.jpeg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    opacity: 0.8;
    filter: brightness(0.45) saturate(1.4);
}
.bg-overlay-dark {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5, 7, 10, 0.5) 0%, rgba(5, 7, 10, 0.2) 40%, rgba(5, 7, 10, 0.6) 100%);
}
.bg-overlay-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 25% 15%, rgba(0, 123, 189, 0.2) 0%, transparent 55%);
}
100% {
    background-position: 60px 60px, 150px 170px, 260px 200px;
}
}
33% {
    transform: translate(40px, -50px) scale(1.08);
}
66% {
    transform: translate(-30px, 40px) scale(0.95);
}
}
50% {
    transform: translateY(-30px) scale(1.3);
    opacity: 0.8;
}
}
100% {
    top: 100%;
}
}
50% {
    transform: translateY(-20px) rotate(5deg);
}
}
100% {
    background-position: 28px 49px;
}
}
body:hover .container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px;
}
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 60px 24px;
}
50% {
    box-shadow: 0 0 20px 5px rgba(0, 255, 204, 0.15);
}
}
.hero-subtitle-entel {
    font-size: 14px;
    color: #ffffff;
    letter-spacing: 3px;
    margin-bottom: 45px;
    text-transform: uppercase;
    font-weight: 700;
    animation: fadeInUp 0.8s ease 0.4s both;
}
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@media (max-width: 600px) {}
/* LOGIN SCREEN */
.login-screen {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 60px 24px;
    animation: fadeInUp 0.8s ease both;
}
.login-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 48px 40px;
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: visible;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 0.8s ease 0.3s both;
}
.login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--cp-orange), var(--cp-blue));
}
.login-card::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 255, 204, 0.05) 0%, transparent 70%);
    animation: pulse 6s ease-in-out infinite;
}
.login-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(0, 255, 204, 0.1), rgba(0, 123, 189, 0.1));
    border: 1px solid rgba(0, 255, 204, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 28px;
    color: var(--cyan);
    box-shadow: 0 0 30px rgba(0, 255, 204, 0.1);
    animation: iconPulse 3s ease-in-out infinite;
}
@keyframes iconPulse {
    0%,
    100% {
        box-shadow: 0 0 20px rgba(0, 255, 204, 0.1);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 40px rgba(0, 255, 204, 0.2);
        transform: scale(1.05);
    }
}
.login-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.login-title span {
    color: var(--cyan);
}
.login-subtitle {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.6;
}
.login-form {
    position: relative;
    z-index: 5;
}
.login-input-group {
    margin-bottom: 20px;
    text-align: left;
}
.login-input-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}
.login-input-label i {
    font-size: 12px;
}
.login-input-wrapper {
    position: relative;
    display: flex;
    gap: 0;
}
.login-input {
    flex: 1;
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(0, 255, 204, 0.2);
    border-radius: 12px;
    padding: 16px 20px;
    color: var(--text-primary);
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    outline: none;
    transition: var(--transition);
    width: 100%;
    letter-spacing: 1px;
}
.login-input::placeholder {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 14px;
}
.login-input:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 4px var(--cyan-glow), 0 0 30px rgba(0, 255, 204, 0.1);
}
.login-input.error {
    border-color: var(--danger);
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
    animation: shake 0.4s ease;
}
@keyframes shake {
    0%,
    100% {
        transform: translateX(0);
    }
    20% {
        transform: translateX(-8px);
    }
    40% {
        transform: translateX(8px);
    }
    60% {
        transform: translateX(-4px);
    }
    80% {
        transform: translateX(4px);
    }
}
.login-hint {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.login-hint i {
    font-size: 10px;
    color: var(--cp-orange);
}
.login-error-msg {
    color: var(--danger);
    font-size: 12px;
    font-weight: 600;
    margin-top: 8px;
    display: none;
    align-items: center;
    gap: 6px;
    animation: fadeIn 0.3s ease;
}
.login-error-msg.active {
    display: flex;
}
.login-error-msg i {
    font-size: 11px;
}
.btn-login {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, var(--cp-orange), var(--orange-light));
    border: none;
    border-radius: 12px;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 8px;
    position: relative;
    z-index: 5;
}
.btn-login:hover {
    background: linear-gradient(135deg, var(--cyan), var(--cp-blue));
    box-shadow: 0 0 30px rgba(0, 255, 204, 0.25);
    transform: translateY(-2px);
}
.btn-login i {
    transition: transform 0.3s ease;
}
.btn-login:hover i {
    transform: translateX(4px);
}
.btn-login:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}
.login-footer {
    margin-top: 24px;
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.6;
}
.login-footer strong {
    color: var(--cp-orange);
}
/* WELCOME BANNER */
.welcome-banner {
    background: linear-gradient(135deg, rgba(0, 255, 204, 0.08), rgba(0, 123, 189, 0.05));
    border: 1px solid rgba(0, 255, 204, 0.15);
    border-radius: 16px;
    padding: 20px 28px;
    margin-bottom: 8px;
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 16px;
    animation: fadeInUp 0.6s ease both;
}
.welcome-avatar {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    object-fit: cover;
    border: 2px solid rgba(0, 255, 204, 0.3);
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.1);
    flex-shrink: 0;
}
.welcome-text-block {
    text-align: left;
    flex: 1;
}
.welcome-greeting {
    font-size: 11px;
    font-weight: 700;
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.welcome-greeting i {
    font-size: 10px;
}
.welcome-name {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-primary);
    text-shadow: 0 0 20px rgba(0, 255, 204, 0.1);
}
.welcome-name span {
    color: var(--cyan);
}
.welcome-role {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 2px;
    font-weight: 500;
}
.welcome-company {
    font-size: 11px;
    color: var(--cp-orange);
    font-weight: 700;
    margin-top: 2px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.welcome-company i {
    font-size: 9px;
}
.btn-logout {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 8px 14px;
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}
.btn-logout:hover {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
    border-color: rgba(239, 68, 68, 0.3);
}
/* SEARCH CARD */
.search-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: visible;
    z-index: 10;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}
.search-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--cp-orange), var(--cp-blue));
}
.search-card::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 255, 204, 0.05) 0%, transparent 70%);
    animation: pulse 6s ease-in-out infinite;
}
@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}
.search-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
    position: relative;
    z-index: 1;
}
.search-divider::before,
.search-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}
.search-divider span {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    white-space: nowrap;
}
.search-filters-row {
    display: grid;
    /*grid-template-columns: repeat(3, 1fr);*/
    gap: 16px;
    position: relative;
    z-index: 1;
}
/* BOTÓN DE BÚSQUEDA AGREGADO */
.search-btn-container {
    margin-top: 24px;
    text-align: center;
    position: relative;
    z-index: 1;
}
.btn-search-custom {
    background: linear-gradient(135deg, var(--cp-orange), var(--orange-light));
    border: none;
    border-radius: 12px;
    padding: 14px 40px;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 20px rgba(245, 130, 32, 0.2);
}
.btn-search-custom:hover {
    background: linear-gradient(135deg, var(--cyan), var(--cp-blue));
    box-shadow: 0 0 30px rgba(0, 255, 204, 0.3);
    transform: translateY(-2px);
}
.btn-search-custom i {
    transition: transform 0.3s ease;
}
.btn-search-custom:hover i {
    transform: scale(1.1);
}
@media (max-width: 768px) {
    .search-filters-row {
        grid-template-columns: 1fr;
    }
    .search-card {
        padding: 28px 20px;
    }
    .welcome-banner {
        flex-direction: column;
        text-align: center;
    }
    .welcome-text-block {
        text-align: center;
    }
    .welcome-banner {
        padding: 20px;
    }
}
.filter-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.filter-label {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.filter-label i {
    color: var(--cp-orange);
    font-size: 10px;
}
.filter-select {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 12px;
    color: var(--text-primary);
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 500;
    outline: none;
    transition: var(--transition);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}
.filter-select:focus {
    border-color: var(--cp-orange);
    box-shadow: 0 0 0 3px rgba(245, 130, 32, 0.1);
}
.filter-select option {
    background: var(--bg-dark);
    color: var(--text-primary);
}
/* COMBOBOX */
.combobox {
    position: relative;
    width: 100%;
}
.combobox-input {
    width: 100%;
    background: rgba(5, 7, 10, 0.95);
    border: 2px solid rgba(0, 255, 204, 0.25);
    border-radius: 12px;
    padding: 18px 20px;
    padding-right: 45px;
    color: var(--text-primary);
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    outline: none;
    transition: var(--transition);
    cursor: text;
}
.combobox-input::placeholder {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 14px;
}
.combobox-input:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 4px var(--cyan-glow), 0 0 30px rgba(0, 255, 204, 0.15);
    background: rgba(5, 7, 10, 1);
}
.combobox-small .combobox-input {
    padding: 10px 12px;
    padding-right: 35px;
    font-size: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    background: rgba(5, 7, 10, 0.9);
}
.combobox-small .combobox-input::placeholder {
    font-size: 11px;
}
.combobox-small .combobox-input:focus {
    border-color: var(--cp-orange);
    box-shadow: 0 0 0 3px rgba(245, 130, 32, 0.15);
    background: rgba(5, 7, 10, 1);
}
/* 🔥 CORRECCIÓN Z-INDEX Y POSICIONAMIENTO DEL DROPDOWN */
.combobox-dropdown {
    position: fixed;
    /* Cambiado a fixed para evitar recortes */
    max-height: 280px;
    overflow-y: auto;
    background: #05070a;
    border: 2px solid rgba(0, 255, 204, 0.3);
    border-radius: 12px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(0, 255, 204, 0.1), 0 0 25px rgba(0, 255, 204, 0.08);
    z-index: 999999 !important;
    /* Z-index extremo para estar sobre todo */
    display: none;
    pointer-events: auto;
}
.combobox-dropdown.active {
    display: block;
    animation: dropdownSlide 0.2s ease;
}
@keyframes dropdownSlide {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.combobox-dropdown::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--cp-orange), var(--cp-blue));
    border-radius: 12px 12px 0 0;
}
.combobox-option {
    padding: 14px 18px;
    font-size: 14px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-weight: 500;
    background: #05070a;
    pointer-events: auto;
    position: relative;
    z-index: 1;
}
.combobox-option:last-child {
    border-bottom: none;
    border-radius: 0 0 12px 12px;
}
.combobox-option:first-child {
    border-radius: 12px 12px 0 0;
    margin-top: 2px;
}
.combobox-option:hover {
    background: rgba(0, 255, 204, 0.1);
    color: var(--cyan);
    padding-left: 22px;
}
.combobox-option.selected {
    background: rgba(0, 255, 204, 0.15);
    color: var(--cyan);
    font-weight: 700;
}
.combobox-option.hidden {
    display: none;
}
.combobox-option.no-results {
    color: var(--text-muted);
    font-style: italic;
    cursor: default;
    text-align: center;
    padding: 24px;
    background: #0a0f1e;
}
.combobox-option.no-results:hover {
    background: #0a0f1e;
    color: var(--text-muted);
    padding-left: 18px;
}
.combobox-small .combobox-dropdown {
    max-height: 220px;
    border-radius: 10px;
    border: 2px solid rgba(245, 130, 32, 0.4);
    z-index: 999999 !important;
    background: #05070a;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(245, 130, 32, 0.1), 0 0 20px rgba(245, 130, 32, 0.1);
}
.combobox-small .combobox-option {
    padding: 12px 16px;
    font-size: 13px;
    background: #05070a;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.combobox-small .combobox-dropdown::before {
    border-radius: 10px 10px 0 0;
    height: 3px;
}
.combobox-small .combobox-option:hover {
    background: rgba(245, 130, 32, 0.15);
    color: var(--cp-orange);
    padding-left: 20px;
}
.combobox-small .combobox-option.selected {
    background: rgba(245, 130, 32, 0.2);
    color: var(--cp-orange);
    font-weight: 700;
}
.combobox-arrow {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--cyan);
    font-size: 12px;
    pointer-events: none;
    transition: transform 0.3s ease;
}
.combobox.open .combobox-arrow {
    transform: translateY(-50%) rotate(180deg);
}
.combobox-small .combobox-arrow {
    right: 12px;
    font-size: 10px;
    color: var(--cp-orange);
}
.combobox-dropdown.active {
    z-index: 999999 !important;
}
.combobox-dropdown.active .combobox-option {
    position: relative;
    z-index: 1;
    pointer-events: auto;
}
/* STATS ROW */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 50px;
    max-width: 800px;
    width: 100%;
    animation: fadeInUp 0.8s ease 0.8s both;
}
@media (max-width: 768px) {
    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .stats-row {
        grid-template-columns: 1fr;
    }
}
.stat-item {
    text-align: center;
    position: relative;
    padding: 16px;
    border-radius: 12px;
    transition: var(--transition);
}
.stat-item:hover {
    background: rgba(255, 255, 255, 0.02);
    transform: translateY(-3px);
}
.stat-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, var(--border), transparent);
}
.stat-item:last-child::after {
    display: none;
}
.stat-value {
    font-size: 2rem;
    font-weight: 900;
    color: var(--text-primary);
    letter-spacing: -1px;
}
.stat-item:nth-child(1) .stat-value {
    color: var(--cp-orange);
}
.stat-item:nth-child(2) .stat-value {
    color: var(--success);
}
.stat-item:nth-child(3) .stat-value {
    color: var(--cp-blue);
}
.stat-item:nth-child(4) .stat-value {
    color: var(--cyan);
}
.stat-label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}
/* RESULTS SECTION */
.results-section {
    padding: 80px 0 60px;
    position: relative;
}
.section-header {
    text-align: center;
    margin-bottom: 40px;
}
.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.section-title span {
    color: var(--cyan);
    text-shadow: 0 0 30px rgba(0, 255, 204, 0.15);
}
.section-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
}
.results-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
}
/* Pantallas grandes */
@media (max-width: 1400px) {
    .results-grid {
        grid-template-columns: repeat(4,
                minmax(0, 1fr));
        gap: 20px;
    }
}
/* Notebook / pantallas medianas */
@media (max-width: 1200px) {
    .results-grid {
        grid-template-columns: repeat(3,
                minmax(0, 1fr));
        gap: 20px;
    }
}
/* Tablet horizontal */
@media (max-width: 992px) {
    .results-grid {
        grid-template-columns: repeat(2,
                minmax(0, 1fr));
        gap: 18px;
    }
}
/* Tablet vertical / móviles grandes */
@media (max-width: 768px) {
    .results-grid {
        grid-template-columns: repeat(2,
                minmax(0, 1fr));
        gap: 16px;
    }
}
/* Móviles */
@media (max-width: 576px) {
    .results-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}
.result-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}
.result-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--cp-orange), var(--cp-blue));
    opacity: 0;
    transition: opacity 0.3s ease;
}
.result-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03), transparent);
    transition: left 0.6s ease;
}
.result-card:hover::after {
    left: 100%;
}
.result-card:hover::before {
    opacity: 1;
}
.result-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 255, 204, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 255, 204, 0.05);
}
.card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}
.card-avatar {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid rgba(0, 255, 204, 0.2);
    transition: var(--transition);
}
.result-card:hover .card-avatar {
    border-color: var(--cyan);
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.15);
    transform: scale(1.05);
}
.card-info {
    flex: 1;
    min-width: 0;
}
.card-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.card-company {
    font-size: 12px;
    font-weight: 600;
    color: var(--cp-orange);
    display: flex;
    align-items: center;
    gap: 4px;
}
.card-role {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.5;
}
.card-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.badge-tech {
    background: rgba(0, 123, 189, 0.12);
    color: var(--cp-blue);
}
.badge-design {
    background: rgba(245, 130, 32, 0.12);
    color: var(--cp-orange);
}
.badge-business {
    background: rgba(16, 185, 129, 0.12);
    color: var(--success);
}
.badge-marketing {
    background: rgba(0, 255, 204, 0.08);
    color: var(--cyan);
}
.card-footer {
    display: flex;
    gap: 16px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}
.card-stat {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
}
.card-stat i {
    font-size: 11px;
}
.card-stat i.fa-star {
    color: var(--warning);
}
.card-stat i.fa-folder {
    color: var(--cp-blue);
}
.card-stat i.fa-clock {
    color: var(--cyan);
}
/* MODAL */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(12px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.modal-overlay.active {
    display: flex;
}
.modal-overlay.show {
    opacity: 1;
}
.modal {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    width: 100%;
    max-width: 420px;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(20px) scale(0.96);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    backdrop-filter: blur(20px);
}
.modal-overlay.show .modal {
    transform: translateY(0) scale(1);
}
.modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--cp-orange), var(--cp-blue));
    border-radius: 20px 20px 0 0;
}
.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 14px;
    z-index: 10;
}
.modal-close:hover {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
    border-color: rgba(239, 68, 68, 0.3);
    transform: rotate(90deg);
}
.modal-cover {
    width: 100%;
    height: 180px;
    object-fit: cover;
    filter: brightness(0.5);
    mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
}
.modal-qr-wrapper {
    position: relative;
    margin-top: -70px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.modal-qr-container {
    width: 140px;
    height: 140px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(0, 255, 204, 0.2);
    border-radius: 16px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
}
.modal-qr-container:hover {
    border-color: var(--cyan);
    box-shadow: 0 0 30px rgba(0, 255, 204, 0.15);
    transform: scale(1.05);
}
.modal-qr-container img,
.modal-qr-container canvas {
    width: 100% !important;
    height: 100% !important;
}
.modal-status {
    position: absolute;
    bottom: 10px;
    right: calc(50% - 65px);
    width: 18px;
    height: 18px;
    background: var(--success);
    border-radius: 50%;
    border: 3px solid var(--bg-dark);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}
.qr-label {
    margin-top: 12px;
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.qr-label i {
    color: var(--success);
    font-size: 10px;
}
.modal-body {
    padding: 20px 32px 32px;
    text-align: center;
}
.modal-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 4px;
}
.modal-role {
    color: var(--cyan);
    font-weight: 600;
    font-size: 14px;
}
.modal-company {
    color: var(--text-muted);
    font-size: 13px;
    margin-top: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.modal-company i {
    color: var(--cp-orange);
}
/* LOADING & NO RESULTS */
.loading-spinner {
    display: none;
    text-align: center;
    padding: 60px 20px;
}
.loading-spinner.active {
    display: block;
}
.spinner-ring {
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 3px solid rgba(0, 255, 204, 0.1);
    border-top-color: var(--cyan);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.1);
}
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
.no-results {
    display: none;
    text-align: center;
    padding: 60px 20px;
}
.no-results.active {
    display: block;
}
.no-results i {
    font-size: 3rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    opacity: 0.3;
}
.no-results h4 {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 8px;
}
.no-results p {
    color: var(--text-muted);
    font-size: 13px;
}
/* FOOTER */
.footer {
    text-align: center;
    padding: 40px 24px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 500;
}
/* ANIMATIONS */
.fade-in {
    animation: fadeIn 0.5s ease forwards;
    opacity: 0;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.stagger-1 {
    animation-delay: 0.05s;
}
.stagger-2 {
    animation-delay: 0.1s;
}
.stagger-3 {
    animation-delay: 0.15s;
}
.stagger-4 {
    animation-delay: 0.2s;
}
.stagger-5 {
    animation-delay: 0.25s;
}
.stagger-6 {
    animation-delay: 0.3s;
}
/* Screen transitions */
.screen {
    display: none;
    animation: screenEnter 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.screen.active {
    display: flex;
}
@keyframes screenEnter {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
.screen.exit {
    animation: screenExit 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes screenExit {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    to {
        opacity: 0;
        transform: translateY(-30px) scale(0.98);
    }
}
/* Scrollbar */
::-webkit-scrollbar {
    width: 5px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 255, 204, 0.3);
}
/* GLOBAL LOGO */
.hero-main-title {
    text-align: left;
    max-width: 700px;
    width: 100%;
    animation: fadeInUp 0.8s ease 0.2s both;
    margin-bottom: 8px;
}
@media (max-width: 600px) {
    .hero-main-title {
        text-align: center;
    }
}
.hero-title-img {
    display: block;
    max-width: 100%;
    width: auto;
    height: auto;
    max-height: 380px;
    margin-bottom: 16px;
    filter: drop-shadow(0 4px 20px rgba(0, 255, 204, 0.1));
}
@media (max-width: 600px) {
    .hero-title-img {
        max-height: 180px;
    }
}
.hero-title-img2 {
    display: block;
    width: clamp(220px, 45vw, 520px);
    max-width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: contain;
    margin: 0 auto 16px auto;
    filter: drop-shadow(0 4px 20px rgba(0, 255, 204, 0.1));
}
@media (max-width: 768px) {
    .hero-title-img2 {
        width: 85vw;
        max-height: 250px;
    }
}
@media (min-width: 1400px) {
    .hero-title-img2 {
        width: 500px;
        max-height: 450px;
    }
}
.login-error-msg {
    font-size: 12px;
}
.login-error-msg {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    padding: 14px 16px;
    margin-top: 15px;
    border-radius: 10px;
}
.login-error-msg i {
    font-size: 22px;
}
.login-error-msg.active {
    background: rgba(220, 53, 69, 0.15);
    border: 1px solid rgba(220, 53, 69, 0.45);
}
.login-error-msg {
    display: none;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    padding: 12px 15px;
    border-radius: 10px;
    background: rgba(220, 53, 69, 0.15);
    border: 1px solid rgba(220, 53, 69, 0.4);
    color: #ff6b6b;
    font-size: 16px;
    font-weight: 600;
}
.login-error-msg.active {
    display: flex;
}
.login-error-msg i {
    font-size: 20px;
}
.results-section {
    display: none;
}
.results-section.active {
    display: block;
}
.login-input-wrapper {
    display: flex;
    align-items: center;
}
.celular-prefix {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0 14px;
    font-weight: 600;
    white-space: nowrap;
}
.celular-input {
    flex: 1;
}

.footer-logo-img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 90px;
    margin: 20px auto 0;
    object-fit: contain;
}


/* Tablets */
@media (max-width: 768px) {

    .footer-logo-img {
        max-height: 70px;
    }

}


/* Celulares */
@media (max-width: 480px) {

    .footer-logo-img {
        max-height: 55px;
        max-width: 85%;
    }

}