* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #faf9f7 0%, #f5f1eb 100%);
    color: #2d2d2d;
    line-height: 1.6;
}

/* ===== HEADER ===== */
header {
    background: linear-gradient(135deg, #fff9f7 0%, #f5f1eb 100%);
    padding: 2.5rem 0;
    border-bottom: 1px solid rgba(200, 150, 140, 0.15);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    text-decoration: none;
    color: inherit;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #FFB5D4 0%, #FF93C4 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    color: white;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2d2d2d;
    margin: 0;
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.5px;
}

.logo p {
    font-size: 0.85rem;
    color: #8b8b8b;
    margin: 0;
    font-weight: 500;
}

.nav-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* ===== BUTTONS ===== */
.btn {
    padding: 0.8rem 1.8rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    display: inline-block;
    font-family: 'Poppins', sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, #FFB5D4 0%, #FF93C4 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 147, 196, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #2d2d2d;
    border: 2px solid #FFB5D4;
}

.btn-secondary:hover {
    background: #FFB5D4;
    color: white;
    transform: translateY(-2px);
}

.btn-small {
    padding: 0.6rem 1.4rem;
    font-size: 0.85rem;
}

/* ===== HERO SECTION ===== */
.hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem 3rem;
    text-align: center;
}

.hero h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #2d2d2d;
    font-family: 'Outfit', sans-serif;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.2rem;
    color: #8b8b8b;
    font-weight: 400;
}

/* ===== CONTAINER & GRID ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 5rem;
}

.vagas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* ===== VAGA CARD ===== */
.vaga-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 181, 212, 0.1);
}

.vaga-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(255, 147, 196, 0.15);
    border-color: rgba(255, 181, 212, 0.3);
}

.vaga-header {
    margin-bottom: 1.5rem;
}

.vaga-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2d2d2d;
    margin-bottom: 0.8rem;
    font-family: 'Outfit', sans-serif;
}

.empresa-tag {
    display: inline-block;
    background: linear-gradient(135deg, #D4F1FF 0%, #B5E7FF 100%);
    color: #0066aa;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
}

.descricao {
    color: #6b6b6b;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    font-size: 0.95rem;
    line-height: 1.5;
}

.vaga-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid #f0f0f0;
}

.salario {
    font-weight: 700;
    color: #FFB5D4;
    font-size: 1.15rem;
    font-family: 'Outfit', sans-serif;
}

/* ===== FOOTER ===== */
footer {
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    color: #f0f0f0;
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
    font-size: 0.9rem;
}

/* ===== FORMS ===== */
form {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    max-width: 500px;
    margin: 2rem auto;
    border: 1px solid rgba(255, 181, 212, 0.1);
}

form h2 {
    margin-bottom: 2rem;
    font-size: 1.8rem;
    color: #2d2d2d;
    font-family: 'Outfit', sans-serif;
}

input, textarea, select {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border: 2px solid #f0f0f0;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #FFB5D4;
    box-shadow: 0 0 0 3px rgba(255, 181, 212, 0.1);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .nav-buttons {
        width: 100%;
        justify-content: center;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .vagas-grid {
        grid-template-columns: 1fr;
    }

    .logo h1 {
        font-size: 1.5rem;
    }
}

/* ===== AUTHENTICATION PAGES ===== */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 200px);
    padding: 2rem;
}

.auth-card {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(255, 147, 196, 0.12);
    width: 100%;
    max-width: 420px;
    border: 1px solid rgba(255, 181, 212, 0.2);
}

.auth-card h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #2d2d2d;
    margin-bottom: 0.5rem;
    font-family: 'Outfit', sans-serif;
}

.auth-subtitle {
    color: #8b8b8b;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.auth-form {
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #2d2d2d;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group input {
    margin: 0 !important;
}

.btn-full {
    width: 100%;
    margin-bottom: 0;
}

.auth-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f0f0f0;
}

.auth-footer p {
    color: #6b6b6b;
    margin: 0;
}

.link-highlight {
    color: #FF93C4;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.link-highlight:hover {
    color: #FFB5D4;
    text-decoration: underline;
}

.alert {
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.alert-error {
    background: linear-gradient(135deg, #FFE5E9 0%, #FFD0D8 100%);
    color: #c60f38;
    border: 1px solid rgba(198, 15, 56, 0.2);
}

.alert-success {
    background: linear-gradient(135deg, #E3F8F1 0%, #C8EFE3 100%);
    color: #0d7a66;
    border: 1px solid rgba(13, 122, 102, 0.2);
}

/* ===== USER PROFILE ===== */
.user-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.profile-pic {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #FFB5D4;
    object-fit: cover;
    cursor: pointer;
    transition: all 0.3s ease;
}

.profile-pic:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(255, 147, 196, 0.3);
}

.user-name {
    font-weight: 600;
    color: #2d2d2d;
    font-size: 0.95rem;
}

/* ===== BUTTON STATES ===== */
.btn-success {
    background: linear-gradient(135deg, #95E1D3 0%, #7DD3C0 100%) !important;
    color: white !important;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(149, 225, 211, 0.4);
}

.btn-success:disabled {
    cursor: not-allowed;
    opacity: 0.9;
}

.btn-waiting {
    background: linear-gradient(135deg, #FFD966 0%, #FFC844 100%) !important;
    color: white !important;
}

.btn-waiting:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 201, 68, 0.4);
}

.checkmark {
    display: inline-block;
    margin-right: 0.4rem;
    font-weight: bold;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1rem;
}

/* ===== PAGINATION ===== */
.pagination-container {
    display: flex;
    justify-content: center;
    margin-top: 4rem;
    gap: 1rem;
}

/* ===== ANIMATIONS ===== */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

@keyframes pulse-success {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(149, 225, 211, 0.7);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(149, 225, 211, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(149, 225, 211, 0);
    }
}

/* ===== MEDIA QUERIES UPDATES ===== */
/* ===== VAGAS PREVIEW COM NÉVOA ===== */
.vagas-preview {
    position: relative;
    margin-top: 4rem;
    padding-bottom: 3rem;
    opacity: 1;
    transition: opacity 0.6s ease-out;
}

.vagas-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 2rem;
    opacity: 0.4;
    filter: blur(6px);
    pointer-events: none;
    transition: all 0.6s ease-out;
}

.vagas-preview.vagas-reveladas .vagas-preview-grid {
    opacity: 1;
    filter: blur(0px);
    pointer-events: auto;
}

.vagas-preview.vagas-reveladas .nebulosa-overlay {
    display: none;
}

.vaga-card-nebulosa {
    position: relative;
    overflow: hidden;
}

.vaga-card-nebulosa::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(200, 150, 140, 0.2) 100%);
    pointer-events: none;
    transition: opacity 0.6s ease-out;
}

.vagas-preview.vagas-reveladas .vaga-card-nebulosa::before {
    opacity: 0;
}

.nebulosa-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to top, rgba(250, 249, 247, 1) 0%, rgba(250, 249, 247, 0.8) 50%, rgba(250, 249, 247, 0) 100%);
    pointer-events: none;
    transition: opacity 0.6s ease-out;
}

.badge-bloqueado {
    background: linear-gradient(135deg, #FFB5D4 0%, #FF93C4 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
}

/* ===== RESPONSIVE - MOBILE ===== */
@media (max-width: 768px) {
    .header-container {
        flex-direction: row;
        gap: 1rem;
    }

    .logo {
        flex-shrink: 0;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .logo h1 {
        font-size: 1.3rem;
    }

    .logo p {
        font-size: 0.7rem;
    }

    .nav-buttons {
        gap: 0.5rem;
    }

    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }

    .btn-secondary {
        display: none;
    }

    .btn-login-mobile {
        display: none !important;
    }

    .user-profile {
        flex-direction: row;
        gap: 0.5rem;
        align-items: center;
    }
    
    .user-name {
        font-size: 0.8rem;
        display: none;
    }
    
    .btn-large {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .vagas-grid {
        grid-template-columns: 1fr;
    }

    .logo h1 {
        font-size: 1.5rem;
    }
}