@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary: hsl(20, 100%, 50%);
    --azul: #0160b9;
    --primary-rgb: 255, 85, 0;
    --bg-deep: #050507;
    --text-main: #ffffff;
    --text-muted: #9ca3af;
    --border-subtle: rgba(255, 255, 255, 0.1);
    --glass: blur(12px);
    --radius-lg: 20px;
    --radius-md: 12px;
    --radius-sm: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    outline: none;
}

body {
    background-color: var(--bg-deep);
    color: var(--text-main);
    line-height: 1.5;
    background-image: radial-gradient(circle at 15% 50%, rgba(255, 85, 0, 0.08), transparent 25%);
    background-attachment: fixed;
    overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #000;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #444;
}

/* Utilities */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.2rem;
    border-radius: 99px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: 0.3s ease;
    border: none;
    cursor: pointer;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--azul);
    color: white;
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.6);
}

.btn-sm {
    padding: 0.4rem 1rem;
    font-size: 0.75rem;
}

/* Modal Base */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: #111;
    width: 90%;
    max-width: 450px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    padding: 2rem;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.form-group {
    margin-bottom: 1rem;
}

.form-input {
    width: 100%;
    background: #1a1a1a;
    border: 1px solid #333;
    padding: 0.8rem;
    border-radius: var(--radius-sm);
    color: white;
    font-size: 0.9rem;
}

.form-input:focus {
    border-color: var(--primary);
}

.form-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
}

/* --- Multi-Step Form (Stepper) --- */
.step-container {
    display: none;
    animation: slide-in 0.4s ease forwards;
}

.step-container.active {
    display: block;
}

@keyframes slide-in {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.step-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    position: relative;
    padding: 0 10px;
}

.step-indicator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 20px;
    right: 20px;
    height: 2px;
    background: rgba(255, 255, 255, 0.05);
    z-index: 1;
    transform: translateY(-50%);
}

.step-dot {
    width: 32px;
    height: 32px;
    background: #1a1a1a;
    border: 2px solid #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: #666;
    position: relative;
    z-index: 2;
    transition: 0.3s;
}

.step-dot.active {
    border-color: var(--azul);
    background: var(--azul);
    color: white;
    box-shadow: 0 0 15px rgba(1, 96, 185, 0.4);
}

.step-dot.completed {
    border-color: #22c55e;
    background: #22c55e;
    color: white;
}

.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
    gap: 1rem;
}

.btn-glass {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: white;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
}

.input-with-button {
    display: flex;
    gap: 0.5rem;
}

.input-with-button input {
    flex: 1;
}

.cep-loading {
    font-size: 0.75rem;
    color: var(--azul);
    margin-top: 0.4rem;
    display: none;
}

/* Toggle Switch Styles */
.switch-label {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 500;
}

.switch-label input {
    display: none;
}

.slider {
    position: relative;
    width: 36px;
    height: 18px;
    background: #333;
    border-radius: 99px;
    transition: 0.3s;
}

.slider::before {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    left: 2px;
    top: 2px;
    background: white;
    border-radius: 50%;
    transition: 0.3s;
}

input:checked+.slider {
    background: var(--azul);
}

input:checked+.slider::before {
    transform: translateX(18px);
}

.manual-text {
    color: var(--text-muted);
}

.auto-text {
    color: var(--azul);
    font-weight: 600;
}

input:not(:checked)~.manual-text {
    color: var(--primary);
    font-weight: 600;
}

input:not(:checked)~.auto-text {
    color: var(--text-muted);
    font-weight: 400;
}

/* --- Portal Redesign 2026 --- */
.container-wide {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.glow-sphere {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.15) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
    filter: blur(60px);
}

/* Portal Nav */
.portal-nav {
    position: fixed;
    top: 1.5rem;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.portal-nav.scrolled {
    top: 0;
}

.portal-nav.scrolled .nav-inner {
    border-radius: 0;
    background: rgba(5, 5, 7, 0.9);
    border-left: none;
    border-right: none;
    border-top: none;
    padding: 1rem 2rem;
}

.nav-inner {
    background: rgba(15, 15, 20, 0.7);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 99px;
    padding: 0.75rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: 0.4s;
}

.portal-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: -0.02em;
}

.logo-box {
    width: 32px;
    height: 32px;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
}

.portal-logo small {
    display: block;
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    color: #0160b9;
    margin-top: -2px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-item-link {
    font-size: 0.85rem;
    font-weight: 500;
    color: #888;
    transition: 0.3s;
}

.nav-item-link:hover {
    color: white;
}

/* Portal Hero */
.portal-hero {
    padding: 10rem 0 6rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.badge-exclusive {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--azul);
    color: #ffffff;
    border: 1px solid rgb(var(--primary-rgb), 0.2);
    border-radius: 99px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
}

.portal-hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.portal-hero h1 span {
    background: linear-gradient(135deg, var(--azul) 0%, #0084ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.portal-hero p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
}

.h-stat {
    display: flex;
    flex-direction: column;
}

.h-stat strong {
    font-size: 1.8rem;
    font-family: 'Space Grotesk', sans-serif;
    color: white;
}

.h-stat span {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.h-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
}

/* Job Grid */
.board-header {
    margin-bottom: 2.5rem;
}

.board-filter-hint {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.job-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.portal-job-card {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 1.75rem;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.portal-job-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(var(--primary-rgb), 0.3);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(var(--primary-rgb), 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: 0.4s;
}

.portal-job-card:hover .card-glow {
    opacity: 1;
}

.card-content {
    position: relative;
    z-index: 1;
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.job-category {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary);
    letter-spacing: 0.1em;
}

.job-type-badge {
    font-size: 0.65rem;
    padding: 0.3rem 0.6rem;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    color: #ccc;
}

.job-card-title {
    font-size: 1.25rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.job-card-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.job-card-meta span {
    font-size: 0.85rem;
    color: #888;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.job-card-meta i {
    width: 14px;
    opacity: 0.6;
}

.card-footer {
    display: flex;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.25rem;
}

.btn-apply-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-apply-text i {
    transition: 0.3s;
}

.portal-job-card:hover .btn-apply-text i {
    transform: translateX(5px);
    color: var(--primary);
}

/* Premium Talent Banner */
.premium-talent-banner {
    margin-top: 5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(var(--primary-rgb), 0.05));
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 32px;
    padding: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.banner-content {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.primary-icon {
    font-size: 2.5rem;
    color: var(--primary);
    filter: drop-shadow(0 0 10px rgba(var(--primary-rgb), 0.5));
}

.banner-content h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.banner-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 400px;
}

.empty-board {
    text-align: center;
    padding: 6rem 2rem;
    background: rgba(255, 255, 255, 0.01);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 32px;
}

.icon-circle {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #444;
    margin: 0 auto 1.5rem;
}

/* Portal Footer */
.portal-footer {
    padding: 4rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0.6;
}

.f-brand {
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

.f-links {
    display: flex;
    gap: 2rem;
    font-size: 0.8rem;
}

/* Animations */
.animate-reveal {
    opacity: 0;
    transform: translateY(30px);
    animation: reveal 0.8s forwards cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes reveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animations */
.animate-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-fade-in {
    opacity: 0;
    transition: opacity 1s ease;
}

.animate-fade-in.visible {
    opacity: 1;
}

@media (max-width: 768px) {
    .portal-nav {
        top: 1rem;
    }

    .hero-stats {
        gap: 1.5rem;
        flex-wrap: wrap;
    }

    .h-divider {
        display: none;
    }

    .premium-talent-banner {
        flex-direction: column;
        padding: 2rem;
        text-align: center;
    }

    .banner-content {
        flex-direction: column;
    }

    .footer-inner {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

/* --- Admin Panel Redesign (Premium & Modern) --- */
.admin-body {
    background: #020204;
    background-image:
        radial-gradient(circle at 100% 0%, rgba(1, 96, 185, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 0% 100%, rgba(255, 85, 0, 0.05) 0%, transparent 40%);
    min-height: 100vh;
}

.admin-nav {
    background: rgba(15, 15, 20, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.8rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.admin-nav .container {
    max-width: 1400px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.admin-badge {
    padding: 2px 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    color: #666;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-link {
    font-size: 0.85rem;
    color: #888;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: 0.3s;
}

.nav-link:hover {
    color: white;
}

/* Stats Dashboard */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card:hover {
    border-color: rgba(1, 96, 185, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.stat-card i {
    position: absolute;
    right: -10px;
    bottom: -10px;
    font-size: 5rem;
    opacity: 0.03;
    color: white;
}

.stat-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    color: white;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    font-weight: 600;
}

/* Layout Grid */
.admin-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* Sections */
.admin-section {
    background: rgba(15, 15, 20, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 2rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    margin-bottom: 4px;
}

.section-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Filters Component */
.filters-container {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.02);
    padding: 0.75rem 1rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.search-box {
    position: relative;
    flex: 1;
    min-width: 250px;
}

.search-box i {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: #444;
}

.search-box .form-input {
    padding-left: 3rem;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
}

.search-box .form-input:focus {
    background: rgba(0, 0, 0, 0.5);
    border-color: var(--azul);
    box-shadow: 0 0 0 4px rgba(1, 96, 185, 0.1);
}

.filter-select {
    min-width: 150px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.8rem;
    cursor: pointer;
    border-radius: 12px;
}

/* Data Table Premium */
.table-wrapper {
    overflow-x: auto;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.premium-table {
    width: 100%;
    border-collapse: collapse;
}

.premium-table th {
    text-align: left;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.01);
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.premium-table td {
    padding: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    color: #ddd;
}

.premium-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
    color: white;
}

/* Job Grid Admin */
.jobs-grid-admin {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

.admin-job-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.3s ease;
}

.admin-job-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--azul);
    transform: scale(1.02);
}

.admin-job-card.inactive {
    opacity: 0.6;
    filter: grayscale(0.5);
}

/* Action Buttons */
.btn-glass {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #999;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.08);
    color: white;
}

/* Modals Refined */
.modal-content {
    background: #0a0a0c;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.9);
}

.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
}

.form-input {
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.data-grid-compact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.02);
    padding: 1.25rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.data-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.data-item small {
    font-size: 0.65rem;
    color: #555;
    text-transform: uppercase;
    font-weight: 700;
}

.data-item span {
    font-size: 0.9rem;
    color: #ccc;
    font-weight: 500;
}

/* Badge Refined */
.badge {
    padding: 0.35rem 0.75rem;
    border-radius: 99px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

@media (max-width: 1024px) {
    .container {
        max-width: 100%;
    }

    .section-header {
        flex-direction: column;
        align-items: stretch;
    }
}

/* --- Admin Premium Design System (2026 VIP Version) --- */
:root {
    --admin-bg: #050507;
    --sidebar-width: 280px;
    --sidebar-bg: rgba(10, 10, 15, 0.95);
    --accent-glow: rgba(1, 96, 185, 0.4);
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.06);
    --transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.admin-layout {
    display: flex;
    min-height: 100vh;
    background: var(--admin-bg);
}

/* Sidebar VIP */
.admin-sidebar {
    width: var(--sidebar-width);
    background: var(--sidebar-bg);
    border-right: 1px solid var(--card-border);
    backdrop-filter: blur(25px);
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    z-index: 1100;
    transition: var(--transition-smooth);
}

.sidebar-header {
    padding: 2.5rem 2rem;
    border-bottom: 1px solid var(--card-border);
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: white;
}

.sidebar-logo img {
    height: 35px;
    filter: drop-shadow(0 0 10px rgba(1, 96, 185, 0.3));
}

.vip-badge {
    font-size: 0.6rem;
    background: linear-gradient(90deg, #ffd700, #ffa500);
    color: #000;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 900;
    letter-spacing: 1px;
    margin-left: 5px;
}

.sidebar-nav {
    flex: 1;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 1rem 1.5rem;
    color: #888;
    border-radius: 12px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.nav-item i {
    font-size: 1.1rem;
    width: 20px;
}

.nav-item:hover {
    color: white;
    background: rgba(255, 255, 255, 0.05);
}

.nav-item.active {
    color: white;
    background: linear-gradient(90deg, rgba(1, 96, 185, 0.2) 0%, transparent 100%);
    border-left: 3px solid var(--azul);
    box-shadow: inset 5px 0 15px rgba(1, 96, 185, 0.1);
}

.sidebar-footer {
    padding: 2rem;
    border-top: 1px solid var(--card-border);
}

/* Main Content Area */
.admin-main {
    flex: 1;
    margin-left: var(--sidebar-width);
    padding: 0;
    position: relative;
    background-image:
        radial-gradient(circle at 100% 0%, rgba(1, 96, 185, 0.08) 0%, transparent 40%);
}

.admin-topbar {
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--card-border);
    background: rgba(5, 5, 7, 0.5);
}

.topbar-search {
    position: relative;
    max-width: 400px;
    width: 100%;
}

.topbar-search i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #555;
}

.topbar-search input {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    padding: 0.75rem 1rem 0.75rem 3rem;
    border-radius: 99px;
    color: white;
    transition: var(--transition-smooth);
}

.topbar-search input:focus {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--azul);
    box-shadow: 0 0 20px rgba(1, 96, 185, 0.2);
}

/* Page Header Sections */
.admin-content-inner {
    padding: 3rem;
}

.page-section-header {
    margin-bottom: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.page-title {
    font-size: 2.8rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    letter-spacing: -2px;
    background: linear-gradient(180deg, #fff 0%, #888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Stats Cards Premium */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.premium-stat-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.premium-stat-card:hover {
    border-color: rgba(var(--primary-rgb), 0.2);
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
}

.premium-stat-card .stat-icon {
    position: absolute;
    right: -10px;
    bottom: -10px;
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.03);
    transform: rotate(-15deg);
}

.premium-stat-card .label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 0.5rem;
}

.premium-stat-card .value {
    font-size: 2.5rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: white;
}

.premium-stat-card .trend {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    margin-top: 1rem;
}

.trend.up {
    color: #22c55e;
}

.trend.down {
    color: #ef4444;
}

/* Table Overhaul */
.glass-table-container {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.premium-table {
    width: 100%;
    border-collapse: collapse;
}

.premium-table th {
    background: rgba(255, 255, 255, 0.02);
    padding: 1.25rem 2rem;
    text-align: left;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    border-bottom: 1px solid var(--card-border);
}

.premium-table td {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--card-border);
    transition: var(--transition-smooth);
}

.premium-table tr:last-child td {
    border-bottom: none;
}

.premium-table tr:hover td {
    background: rgba(255, 255, 255, 0.01);
}

/* User Profile Mini */
.user-profile-small {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    border-radius: 99px;
}

.user-avatar {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--azul), #00d4ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    color: white;
}

/* Sections Transition */
.admin-view {
    display: none;
    animation: fadeIn 0.5s ease-out;
}

.admin-view.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Job Cards Admin Refined */
.jobs-grid-admin {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.admin-job-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
}

.admin-job-card:hover {
    border-color: var(--azul);
    background: rgba(1, 96, 185, 0.05);
}

.admin-job-card.inactive {
    opacity: 0.5;
    filter: grayscale(1);
}