/* static/careers_style.css */

:root {
    --primary-color: #098FFF;
    --dark-blue: #0D1A38;
    --background-color: #F8F9FA;
    --text-primary: #000000;
    --text-secondary: #6B7280;
    --card-bg: #FFFFFF;
    --card-border: #E5E7EB;
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
    --light-bg: #F9FAFB;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #FFFFFF;
    color: var(--text-primary);
    line-height: 1.6;
    padding-top: 0;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    background-color: #FFFFFF;
    z-index: 999;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Header --- */
.main-header {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1100px;
    height: 82px;
    z-index: 1001;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.1), inset 0 1.5px 1px 0 rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease-in-out;
    padding: 0 1.5rem;
    box-sizing: border-box;
    display: flex;
    align-items: center;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    max-width: 100%;
    width: 100%;
}

.logo img {
    height: 40px;
    width: auto;
    display: block;
}

/* Main content spacing */
main {
    padding-top: 40px;
}

/* Remove padding when main contains hero section */
main:has(.hero-section) {
    padding-top: 0;
}

/* Add padding-top for vacancy detail pages on desktop to prevent content from hiding behind header */
@media (min-width: 769px) {
    main:has(.vacancy-content-layout) {
        padding-top: 120px;
    }
}

.main-nav {
    display: flex;
    gap: 1.5rem; /* Reducido para mejor ajuste */
    align-items: center;
}

.main-nav a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
    font-size: 0.95rem;
}

.main-nav a:hover {
    color: var(--primary-color);
}

.main-nav a.active {
    color: var(--primary-color);
    font-weight: 600;
}

.main-nav .nav-button {
    background-color: var(--text-primary);
    color: #FFFFFF;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: background-color 0.2s;
}

.main-nav .nav-button:hover {
    background-color: var(--primary-color);
    opacity: 1; /* Override the default hover opacity */
    color: #FFFFFF;
}


/* --- Hero Section --- */
.hero-section.simple-hero {
    background-color: #FFFFFF;
    padding: 120px 0 0 0;
    position: relative;
    z-index: 1;
}

.simple-hero .hero-content {
    margin: 3rem 0 2rem 0;
    text-align: center;
    background-color: #FFFFFF;
    position: relative;
    z-index: 1;
}

/* --- Contenedor con imagen de fondo fija --- */
.careers-bg-container {
    position: relative;
}

/* Imagen de fondo fija (parallax) - inicialmente oculta */
.careers-bg-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
    display: none; /* Inicialmente oculta */
}

/* Contenedor de máscara con paneles que se expanden */
.careers-bg-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    display: none; /* Inicialmente oculta */
}

/* Paneles de máscara blanca que se expanden hacia los bordes */
.mask-left,
.mask-right,
.mask-top,
.mask-bottom {
    position: absolute;
    background-color: white;
    transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.mask-left {
    top: 0;
    left: 0;
    width: 80px;
    height: 100%;
}

.mask-right {
    top: 0;
    right: 0;
    width: 80px;
    height: 100%;
}

.mask-top {
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 80px;
}

.mask-bottom {
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 80px;
}

/* Al hacer scroll, los paneles se expanden hacia los bordes (apertura) */
/* Sin cambio de opacity - solo transform */
.careers-bg-container.mask-revealed .mask-left {
    transform: translateX(-100%);
}

.careers-bg-container.mask-revealed .mask-right {
    transform: translateX(100%);
}

.careers-bg-container.mask-revealed .mask-top {
    transform: translateY(-100%);
}

.careers-bg-container.mask-revealed .mask-bottom {
    transform: translateY(100%);
}

/* Sección inicial (espaciador para ver la imagen con máscara) */
.initial-space-section {
    min-height: 60vh;
    background-color: transparent;
}

/* --- Hero Section con texto --- */
.hero-text-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
}

.hero-text-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 650px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out 0.4s, transform 0.8s ease-out 0.4s;
}

/* El texto aparece cuando se revela */
.careers-bg-container.mask-revealed .hero-text-content {
    opacity: 1;
    transform: translateY(0);
}

.hero-text-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #FFFFFF;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
}

.hero-text-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #FFFFFF;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.animated-headline {
    font-size: 4.3rem;
    font-weight: 800;
    color: var(--text-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
    line-height: 1;
    font-family: 'Montserrat', sans-serif;
    position: relative;
}

.animated-headline::before {
    content: '';
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 160px;
    height: 6px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.animated-headline-words {
    position: relative;
    display: block;
    margin-right: 1rem;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 1em;
    overflow: hidden; /* Máscara: oculta el texto que sale del contenedor */
}

.animated-headline-words span {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 1;
    transform: translateY(-120%); /* Comienza ARRIBA (fuera de vista) */
    white-space: nowrap;
}

.animated-headline-words span.is-visible {
    opacity: 1;
    transform: translateY(0); /* Posición visible */
    transition: transform 0.7s cubic-bezier(0.65, 0, 0.35, 1);
}

.animated-headline-words span.is-leaving {
    opacity: 1;
    transform: translateY(120%); /* Sale hacia ABAJO */
    transition: transform 0.7s cubic-bezier(0.65, 0, 0.35, 1);
}


/* --- Vacancies Section --- */
.vacancies-section {
    padding: 2rem 0 4rem;
    background-color: #FFFFFF;
    isolation: isolate;
}

.open-positions-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
}

.open-positions-list {
    display: flex;
    flex-direction: column;
    max-width: 900px;
    margin: 0 auto;
    border-top: 1px solid var(--card-border); /* Línea superior para la primera vacante */
}

.vacancy-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0; /* Ajuste para que el padding sea vertical */
    border-bottom: 1px solid var(--card-border); /* Línea separadora */
    text-decoration: none;
    color: var(--text-primary);
    transition: background-color 0.2s;
}

.vacancy-list-item:hover {
    background-color: var(--light-bg);
}

.vacancy-item-info h3 {
    margin: 0 0 0.25rem 0;
    font-size: 1.25rem;
}

.vacancy-item-info p {
    margin: 0;
    color: var(--text-secondary);
}

.vacancy-item-apply {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: var(--primary-color);
}

.no-vacancies-message {
    text-align: center;
    padding: 3rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--card-border);
}

/* --- Vacancy Detail Page --- */
.vacancy-detail-page {
    padding: 3rem 0;
}

.breadcrumb {
    margin-bottom: 2rem;
}

.breadcrumb a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.vacancy-content-layout {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 3rem;
    align-items: flex-start;
}

.vacancy-main-header {
    margin-bottom: 2rem;
}

.vacancy-main-header h1 {
    font-size: 2.5rem;
    margin: 0 0 1rem 0;
}

.header-details {
    display: flex;
    flex-wrap: wrap; /* Para que se ajuste en pantallas pequeñas */
    gap: 1.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    align-items: center;
}

.header-details span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.vacancy-description.ql-snow {
    border: none;
}

.vacancy-description .ql-editor {
    padding: 0;
    font-size: 16px;
    line-height: 1.7;
}

.vacancy-sidebar {
    position: sticky;
    top: 2rem;
}

/* Adjust sticky position for desktop to account for fixed header (82px height + 1rem top + some spacing) */
@media (min-width: 769px) {
    .vacancy-sidebar {
        top: calc(82px + 1rem + 1.5rem); /* header height + header top offset + extra spacing */
    }
}

.apply-widget {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 1.5rem;
}

.apply-widget h3 {
    margin: 0 0 0.5rem 0;
}

.apply-widget p {
    margin: 0 0 1.5rem 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.btn-apply-primary, #apply-now-btn-sidebar {
    display: block; 
    width: 100%;
    padding: 0.75rem;
    border: none;
    border-radius: 8px;
    background-color: var(--primary-color);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    text-align: center; 
    text-decoration: none; 
    box-sizing: border-box; 
}

.btn-apply-primary:hover, #apply-now-btn-sidebar:hover {
    background-color: #0776CC;
}

/* --- Apply Form Section (Integrated) --- */
.apply-form-section {
    padding: 4rem 0;
    border-top: 1px solid var(--card-border);
    margin-top: 4rem;
}

.apply-form-container {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--card-bg);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--card-border);
}

.apply-form-header {
    text-align: center;
    margin-bottom: 3rem;
}

.apply-form-header h1, .apply-form-header h2 {
    font-size: 2.5rem;
}

/* Estilo para el Dropzone */
.file-dropzone {
    border: 2px dashed var(--card-border);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.3s, background-color 0.3s;
    margin-bottom: 3rem;
}

.file-dropzone:hover, .file-dropzone.is-dragging {
    border-color: var(--primary-color);
    background-color: var(--light-bg);
}

.file-dropzone input[type="file"] {
    display: none;
}

.dropzone-content i {
    font-size: 2.5rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.dropzone-content p {
    margin: 0 0 1rem;
    font-size: 1.1rem;
}

.dropzone-content .file-info {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.browse-btn {
    background-color: var(--text-primary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
}

.file-dropzone.is-filled {
    border-style: solid;
    border-color: #10B981; /* Verde */
}

/* Estilos para inputs estilo "línea" */
.traditional-inputs {
    display: flex;
    flex-direction: column;
    gap: 2rem; /* Aumenta el espacio entre campos */
}

.form-group {
    position: relative;
}

.form-group label {
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 1rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="url"],
.form-group input[type="number"] {
    width: 100%;
    border: none;
    border-bottom: 1px solid var(--card-border);
    padding: 0.5rem 0;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    background-color: transparent;
    transition: border-color 0.2s;
    box-sizing: border-box;
    border-radius: 0; /* Eliminar bordes redondeados */
}

.form-group input:focus {
    outline: none;
    border-bottom-color: var(--primary-color);
}

.form-actions {
    margin-top: 3rem;
    text-align: right;
}


/* --- Thank You Page --- */
.thank-you-page {
    padding: 3rem 0;
}
.thank-you-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--card-bg);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--card-border);
}

.thank-you-content h1 {
    font-size: 2.5rem;
}

.btn-back-home {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    margin-top: 1.5rem;
    border-radius: 8px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    font-weight: 500;
}

/* --- Footer --- */
.main-footer {
    background-color: #FFFFFF;
    color: var(--text-primary);
    padding: 3rem 0 2rem 0;
    border-top: 1px solid var(--card-border);
    margin-top: 4rem;
    position: relative;
    z-index: 1;
}

/* Footer Top: Maps y Social */
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--card-border);
}

.footer-maps {
    flex: 0 0 auto;
}

.footer-maps .footer-title {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 100;
    color: #000000;
}

.footer-social {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

.footer-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 300;
    text-transform: none;
    letter-spacing: 0;
    margin-bottom: 0;
    color: #000000;
}

.footer-locations {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.location {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.location-city {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #000000;
    margin: 0;
}

.location-address {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 300;
    color: #000000;
    text-decoration: none;
    transition: color 0.2s;
}

.location-address:hover {
    color: #000000;
    text-decoration: none;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.social-icon {
    color: #7A7A7A;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
}

.social-icon:hover {
    transform: translateY(-3px);
}

.back-to-top {
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 400;
    text-decoration: underline;
    color: #000000;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    align-self: flex-end;
}

.back-to-top:hover {
    color: #000000;
}

/* Footer Legal Section */
.footer-legal-section {
    padding: 2.5rem 0;
    text-align: center;
    border-bottom: 1px solid var(--card-border);
}

.footer-legal-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 0.75rem;
}

.footer-legal-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 400;
    transition: color 0.2s;
}

.footer-legal-links a:hover {
    color: var(--text-primary);
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding-top: 2rem;
}

.footer-logo img {
    height: 40px;
    width: auto;
}

.footer-copyright {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: 0;
    text-align: center;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    body {
        padding-top: 100px;
    }

    .main-header {
        top: 0.5rem;
        width: calc(100% - 2rem);
        height: 82px;
        padding: 0 1.5rem;
        border-radius: 40px;
    }

    .logo img {
        height: 40px;
        width: auto;
    }

    .main-nav {
        display: none; /* Ocultar nav en móvil por ahora */
    }

    .hamburger {
        display: flex !important;
    }

    .hero-section.simple-hero {
        padding: 70px 0 0 0;
    }

    .animated-headline {
        font-size: 2.5rem;
        flex-direction: column;
        align-items: center;
    }

    .animated-headline::before {
        width: 80px;
        height: 3px;
        top: -0.75rem;
    }

    .animated-headline-words {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }

    .careers-bg-image {
        position: fixed; /* Mantener fixed en móvil también */
        height: 100vh;
        background-size: cover;
        background-position: center center;
    }

    .careers-bg-mask {
        position: fixed;
        height: 100vh;
    }

    .mask-left {
        width: 40px;
    }

    .mask-right {
        width: 40px;
    }

    .mask-top {
        left: 0;
        right: 0;
        width: 100%;
        height: 40px;
    }

    .mask-bottom {
        left: 0;
        right: 0;
        width: 100%;
        height: 40px;
    }

    .initial-space-section {
        min-height: 40vh;
    }

    .hero-text-section {
        min-height: 80vh;
    }

    .hero-text-content {
        padding: 2rem 1rem;
    }

    .hero-text-content h2 {
        font-size: 1.75rem;
    }

    .hero-text-content p {
        font-size: 1rem;
    }

    .vacancy-content-layout {
        grid-template-columns: 1fr;
    }

    .open-positions-title {
        font-size: 1.5rem;
    }

    .vacancy-list-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .vacancy-item-apply {
        margin-top: 1rem;
        align-self: flex-end;
    }

    /* Footer responsive */
    .footer-top {
        flex-direction: column;
        gap: 3rem;
        text-align: center;
    }

    .footer-maps {
        border-right: none;
        padding-right: 0;
        text-align: center;
        width: 100%;
    }

    .footer-maps .footer-title {
        text-align: center;
    }

    .footer-locations {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }

    .location {
        text-align: center;
    }

    .footer-social {
        padding-left: 0;
        text-align: center;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-social .footer-title {
        text-align: center;
    }

    .social-icons {
        justify-content: center;
        display: flex;
    }

    .back-to-top {
        text-align: center;
        display: block;
        width: 100%;
    }

    .footer-legal-section {
        text-align: center;
        width: 100%;
    }

    .footer-legal-links {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-logo {
        order: -1;
    }

    .footer-copyright {
        text-align: center;
    }
}

/* --- Filter Controls --- */
.filter-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    justify-content: center;
}

.filter-btn {
    text-decoration: none;
    padding: 0.5rem 1.25rem;
    border-radius: 20px;
    font-weight: 500;
    color: var(--text-secondary);
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    transition: all 0.2s ease-in-out;
}

.filter-btn:hover {
    background-color: var(--light-bg);
    color: var(--text-primary);
    border-color: #d1d5db;
}

.filter-btn.active {
    background-color: var(--primary-color);
    color: #FFFFFF;
    border-color: var(--primary-color);
}

/* --- Hashpool Form Styles --- */
.hashpool-page {
    padding: 8rem 0 4rem;
    background-color: #FFFFFF;
    min-height: 100vh;
}

.hashpool-header {
    text-align: center;
    margin-bottom: 3rem;
}

.hashpool-header h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.hashpool-header p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.hashpool-form {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--card-border);
    max-width: 900px;
    margin: 0 auto;
}

.form-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--card-border);
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 2rem;
}

.form-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-row.two-columns {
    grid-template-columns: 1fr 1fr;
}

.form-row.three-columns {
    grid-template-columns: 1fr 1fr 1fr;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    margin-top: 1.5rem;
}

.form-group:first-child label {
    margin-top: 0;
}

.form-row .form-group:first-child label {
    margin-top: 1.5rem;
}

#range-inputs .form-row:first-child .form-group label,
#specific-rates .form-row:first-child .form-group label {
    margin-top: 1.5rem;
}

.form-group label .required {
    color: #EF4444;
    margin-left: 3px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="url"],
.form-group input[type="number"],
.form-group textarea,
.form-group select {
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    padding: 0.75rem 1rem;
    border: 1px solid var(--card-border);
    border-radius: 8px;
    background-color: #FFFFFF;
    color: var(--text-primary);
    transition: all 0.2s ease-in-out;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(9, 143, 255, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-top: 0.75rem;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-item input[type="checkbox"] {
    width: 24px;
    height: 24px;
    cursor: pointer;
    accent-color: #000000;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 2px solid #000000;
    border-radius: 4px;
    position: relative;
}

.checkbox-item input[type="checkbox"]:checked {
    background-color: #000000;
}

.checkbox-item input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: bold;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.checkbox-item label {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 0;
    cursor: pointer;
}

.cv-option-selector {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
    margin-top: 0.75rem;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.radio-option input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #000000;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 2px solid #000000;
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
}

.radio-option input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: #000000;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.radio-option span {
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-primary);
}

.cv-input-group {
    margin-top: 0.5rem;
}

.cv-input-group input[type="file"] {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    padding: 0.75rem;
    border: 1px solid var(--card-border);
    border-radius: 8px;
    background-color: #FFFFFF;
    width: 100%;
    cursor: pointer;
}

.cv-input-group input[type="file"]::-webkit-file-upload-button {
    padding: 0.5rem 1rem;
    background-color: var(--light-bg);
    color: var(--text-primary);
    border: 1px solid var(--card-border);
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    margin-right: 1rem;
}

.cv-input-group input[type="file"]::-webkit-file-upload-button:hover {
    background-color: #E5E7EB;
}

.cv-input-group small {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Checkboxes específicos para hashpool */
.checkbox-group-hashpool {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.checkbox-item-hashpool {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.checkbox-item-hashpool input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 2px solid #000000;
    border-radius: 3px;
    position: relative;
    flex-shrink: 0;
}

.checkbox-item-hashpool input[type="checkbox"]:checked {
    background-color: #000000;
}

.checkbox-item-hashpool input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    color: #FFFFFF;
    font-size: 13px;
    font-weight: bold;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.checkbox-item-hashpool span {
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-primary);
}

/* Dropzone para hashpool */
.file-dropzone-hashpool {
    border: 2px dashed var(--card-border);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.3s, background-color 0.3s;
    background-color: var(--light-bg);
}

.file-dropzone-hashpool:hover,
.file-dropzone-hashpool.is-dragging {
    border-color: var(--primary-color);
    background-color: #E3F2FD;
}

.file-dropzone-hashpool input[type="file"] {
    display: none;
}

.dropzone-content-hashpool p {
    margin: 0 0 0.5rem;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.dropzone-content-hashpool .file-info-hashpool {
    display: block;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.file-dropzone-hashpool.is-filled {
    border-style: solid;
    border-color: #10B981;
    background-color: #D1FAE5;
}

#portfolio-links-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.portfolio-link-row {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.portfolio-link-input {
    flex: 1;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    padding: 0.75rem 1rem;
    border: 1px solid var(--card-border);
    border-radius: 8px;
    background-color: #FFFFFF;
    color: var(--text-primary);
    transition: all 0.2s ease-in-out;
}

.portfolio-link-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(9, 143, 255, 0.1);
}

.btn-remove-link {
    padding: 0.5rem 0.75rem;
    background-color: #FEE2E2;
    color: #DC2626;
    border: none;
    border-radius: 6px;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    line-height: 1;
    min-width: 40px;
}

.btn-remove-link:hover {
    background-color: #FECACA;
}

.btn-add-link {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.65rem 1.25rem;
    background-color: var(--light-bg);
    color: var(--text-primary);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    align-self: flex-start;
    margin-top: 0.5rem;
}

.btn-add-link:hover {
    background-color: #E5E7EB;
    border-color: #D1D5DB;
}

.form-submit-row {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.btn-submit-hashpool {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    padding: 1rem 3rem;
    background-color: var(--primary-color);
    color: #FFFFFF;
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 14px rgba(9, 143, 255, 0.3);
}

.btn-submit-hashpool:hover {
    background-color: #0779E0;
    box-shadow: 0 6px 20px rgba(9, 143, 255, 0.4);
    transform: translateY(-2px);
}

.btn-submit-hashpool:active {
    transform: translateY(0);
}

/* Responsive para formulario hashpool */
@media (max-width: 768px) {
    .hashpool-page {
        padding: 6rem 0 3rem;
    }

    .hashpool-header h1 {
        font-size: 1.75rem;
    }

    .hashpool-header p {
        font-size: 1rem;
    }

    .hashpool-form {
        padding: 2rem 1.5rem;
    }

    .form-row.two-columns,
    .form-row.three-columns {
        grid-template-columns: 1fr;
    }

    .checkbox-group {
        grid-template-columns: 1fr;
    }

    .btn-submit-hashpool {
        width: 100%;
        padding: 1rem 2rem;
    }
}
/* ===================================
   MOBILE MENU HAMBURGER
   =================================== */

/* Hamburger Button - Hidden on desktop */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    width: 28px;
    height: 3px;
    background-color: #111827;
    border-radius: 3px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hamburger Animation to X */
.hamburger.active .hamburger-line:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 450px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(28px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(28px) saturate(180%) !important;
    border-left: 1px solid rgba(255, 255, 255, 0.4) !important;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}

.mobile-menu-overlay.active {
    transform: translateX(0);
}

/* Close Button (X) */
.mobile-menu-close {
    position: fixed;
    top: 2rem;
    right: 2rem;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10002;
    padding: 0;
    pointer-events: auto;
}

.close-line {
    position: absolute;
    width: 28px;
    height: 3px;
    background-color: #111827;
    border-radius: 3px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.close-line:nth-child(1) {
    transform: rotate(45deg);
}

.close-line:nth-child(2) {
    transform: rotate(-45deg);
}

/* Mobile Navigation */
.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
    padding: 8rem 3rem 2rem 3rem;
    align-self: flex-start;
    width: 100%;
}

.mobile-nav a {
    display: block;
    font-family: 'Poppins', serif !important;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    text-decoration: none;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
    line-height: 1.2;
}

.mobile-nav a:hover {
    color: #098FFF;
}

/* Show hamburger only on mobile */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .main-nav {
        display: none !important;
    }
}

/* Hide mobile menu on desktop */
@media (min-width: 769px) {
    .mobile-menu-overlay {
        display: none !important;
    }
}
