﻿* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

body {
    background: #eefaf2;
    color: #102033;
}

.container {
    width: 100%;
    max-width: 900px;
    margin: auto;
    padding: 40px 20px;
}

.hero {
    text-align: center;
    margin-bottom: 40px;
}

.hero h1 {
    font-size: 48px;
    color: #008b45;
    margin-bottom: 10px;
}

.hero h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.hero p {
    margin-bottom: 25px;
    color: #34495e;
}

.hero-image {
    max-width: 450px;
    height: 180px;
    margin: 0 auto 30px auto;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #00a94f, #d7f8e4);
    color: white;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 450px;
    margin: auto;
}

.btn-primary,
.btn-secondary {
    text-decoration: none;
    padding: 16px;
    border-radius: 12px;
    font-weight: bold;
    display: block;
}

.btn-primary {
    background: #00a94f;
    color: white;
}

.btn-secondary {
    border: 2px solid #00a94f;
    color: #00a94f;
    background: white;
}

.admin-link {
    display: block;
    margin-top: 25px;
    color: #34495e;
    text-decoration: none;
    font-size: 14px;
}

.benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 40px;
}

.card,
.category-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.categories h2 {
    margin-bottom: 20px;
    text-align: center;
}

.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.category-card {
    text-decoration: none;
    color: #102033;
    font-weight: bold;
}

@media (max-width: 600px) {
    .hero h1 {
        font-size: 38px;
    }

    .benefits,
    .grid {
        grid-template-columns: 1fr;
    }
}
/* ====== ENCABEZADOS DE PÃGINAS INTERNAS ====== */

.page-header {
    margin-bottom: 30px;
}

.page-header h1 {
    font-size: 30px;
    margin-bottom: 10px;
    color: #102033;
}

.page-header p {
    color: #34495e;
    line-height: 1.5;
}

.back-link {
    display: inline-block;
    margin-bottom: 20px;
    text-decoration: none;
    color: #102033;
    font-weight: bold;
}

.category-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

/* ====== ESTADO VACÃO ====== */

.empty-state {
    background: white;
    border-radius: 18px;
    padding: 35px;
    text-align: center;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.empty-state h2 {
    margin-bottom: 10px;
    color: #102033;
}

.empty-state p {
    margin-bottom: 20px;
    color: #34495e;
}

/* ====== MEJORAS VISUALES ====== */

.btn-primary:hover {
    background: #008f43;
}

.btn-secondary:hover {
    background: #e9fff1;
}

.category-card {
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.category-card:hover {
    transform: translateY(-3px);
    transition: 0.2s;
    box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

/* ====== BUSCADOR DE CATEGORÃAS ====== */

.search-card {
    background: white;
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    margin-bottom: 25px;
}

.search-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.search-form label {
    font-weight: bold;
    color: #102033;
}

.search-input-group {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
}

.search-input-group input {
    width: 100%;
    padding: 14px;
    border: 1px solid #cfd8dc;
    border-radius: 12px;
    font-size: 15px;
    outline: none;
}

.search-input-group input:focus {
    border-color: #00a94f;
}

.clear-search {
    color: #008b45;
    font-weight: bold;
    text-decoration: none;
    font-size: 14px;
}

/* ====== EDITAR CATEGORÃA ====== */

.edit-category-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 14px;
}

.edit-category-form label {
    font-weight: bold;
    color: #102033;
}

.edit-category-form input {
    width: 100%;
    padding: 14px;
    border: 1px solid #cfd8dc;
    border-radius: 12px;
    font-size: 15px;
}

.edit-category-form input:focus {
    outline: none;
    border-color: #00a94f;
}

/* ====== FOTOS DE PERFIL ====== */

.worker-avatar img,
.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.form-card input[type="file"] {
    background: #f6fbf8;
    cursor: pointer;
}

/* ====== MAPA EN FORMULARIO DE PUBLICIDAD ====== */

.map-box {
    width: 100%;
    min-height: 360px;
    border-radius: 18px;
    overflow: hidden;
    background: #d7f8e4;
    border: 1px solid #cfd8dc;
}

.map-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.map-actions .btn-secondary {
    text-align: center;
    border: 2px solid #00a94f;
    color: #00a94f;
    background: white;
    cursor: pointer;
}

.map-actions .btn-secondary:hover {
    background: #e9fff1;
}

/* ====== RESPONSIVE ====== */

@media (max-width: 700px) {
    .search-input-group {
        grid-template-columns: 1fr;
    }

    .map-actions {
        grid-template-columns: 1fr;
    }

    .map-box {
        min-height: 300px;
    }
}
/* ====== SECCIÃ“N CÃ“MO FUNCIONA ====== */

.how-it-works {
    margin-top: 45px;
    text-align: center;
}

.how-it-works h2 {
    font-size: 26px;
    margin-bottom: 20px;
    color: #102033;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.steps .card {
    padding: 24px;
}

.steps strong {
    display: block;
    margin-bottom: 10px;
    color: #008b45;
}

.steps p {
    color: #34495e;
    line-height: 1.4;
}

/* ====== SECCIÃ“N NEGOCIOS ====== */

.business-section {
    margin-top: 45px;
    background: white;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.business-section h2 {
    font-size: 26px;
    color: #102033;
    margin-bottom: 10px;
}

.business-section p {
    color: #34495e;
    margin-bottom: 20px;
    line-height: 1.5;
}

@media (max-width: 700px) {
    .steps {
        grid-template-columns: 1fr;
    }
}
/* ====== LANDING PAGE PROFESIONAL ====== */

.site-navbar {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 22px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #008b45;
    text-decoration: none;
    font-size: 22px;
    font-weight: 800;
}

.brand-icon {
    background: #d7f8e4;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-links a {
    color: #102033;
    text-decoration: none;
    font-weight: 700;
}

.nav-links a:hover {
    color: #008b45;
}

.admin-nav {
    background: white;
    padding: 10px 14px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.landing-hero {
    width: 100%;
    max-width: 1180px;
    margin: 20px auto 60px auto;
    padding: 35px 24px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 45px;
}

.hero-content h1 {
    font-size: 58px;
    line-height: 1.05;
    color: #102033;
    margin: 18px 0;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 19px;
    color: #34495e;
    line-height: 1.7;
    max-width: 620px;
}

.hero-badge {
    display: inline-block;
    background: #d7f8e4;
    color: #008b45;
    font-weight: 800;
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 14px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    margin-top: 30px;
    max-width: 520px;
}

.hero-actions .btn-primary,
.hero-actions .btn-secondary {
    flex: 1;
    text-align: center;
}

.hero-trust {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 24px;
    color: #34495e;
    font-weight: 700;
}

.hero-visual {
    min-height: 470px;
    border-radius: 34px;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(0, 169, 79, 0.92), rgba(215, 248, 228, 0.65)),
        url("../img/hero-conecta.jpg");
    background-size: cover;
    background-position: center;
    box-shadow: 0 18px 38px rgba(0,0,0,0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.hero-visual-content {
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(8px);
    border-radius: 26px;
    padding: 28px;
    text-align: center;
    max-width: 340px;
}

.hero-visual-content h2 {
    color: #102033;
    font-size: 30px;
    margin-bottom: 10px;
}

.hero-visual-content p {
    color: #34495e;
}

.floating-card {
    position: absolute;
    background: white;
    border-radius: 18px;
    padding: 16px 18px;
    box-shadow: 0 10px 22px rgba(0,0,0,0.13);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.floating-card strong {
    color: #102033;
}

.floating-card span {
    color: #008b45;
    font-size: 14px;
    font-weight: 700;
}

.card-one {
    top: 28px;
    left: 28px;
}

.card-two {
    bottom: 28px;
    right: 28px;
}

.landing-section,
.how-section {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto 60px auto;
    padding: 0 24px;
}

.section-title {
    text-align: center;
    margin-bottom: 28px;
}

.section-title h2 {
    font-size: 34px;
    color: #102033;
    margin-bottom: 10px;
}

.section-title p {
    color: #34495e;
    font-size: 17px;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.benefit-card {
    background: white;
    border-radius: 22px;
    padding: 26px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transition: 0.2s;
}

.benefit-card:hover {
    transform: translateY(-4px);
}

.benefit-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: #d7f8e4;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    font-size: 24px;
}

.benefit-card h3 {
    color: #102033;
    margin-bottom: 10px;
}

.benefit-card p {
    color: #34495e;
    line-height: 1.5;
}

.popular-services {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.popular-card {
    background: white;
    color: #102033;
    text-decoration: none;
    border-radius: 22px;
    padding: 28px;
    min-height: 150px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    transition: 0.2s;
}

.popular-card:hover {
    transform: translateY(-4px);
    color: #008b45;
}

.popular-card span {
    font-size: 36px;
}

.see-more {
    border: 2px dashed #00a94f;
}

.business-cta {
    width: calc(100% - 48px);
    max-width: 1180px;
    margin: 0 auto 60px auto;
    padding: 42px;
    border-radius: 30px;
    background: linear-gradient(135deg, #008b45, #00a94f);
    color: white;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 30px;
    align-items: center;
    box-shadow: 0 16px 32px rgba(0,0,0,0.14);
}

.business-cta .hero-badge {
    background: rgba(255,255,255,0.18);
    color: white;
}

.business-cta h2 {
    font-size: 34px;
    margin: 16px 0 10px 0;
}

.business-cta p {
    line-height: 1.6;
    max-width: 740px;
}

.business-cta .btn-primary {
    background: white;
    color: #008b45;
    text-align: center;
    min-width: 230px;
}

.site-footer {
    text-align: center;
    padding: 30px 20px;
    color: #34495e;
}

.site-footer strong {
    color: #008b45;
    font-size: 20px;
}

@media (max-width: 900px) {
    .site-navbar {
        flex-direction: column;
        gap: 16px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .landing-hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 42px;
    }

    .hero-actions {
        flex-direction: column;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-trust {
        justify-content: center;
    }

    .benefit-grid,
    .popular-services {
        grid-template-columns: repeat(2, 1fr);
    }

    .business-cta {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .business-cta .btn-primary {
        min-width: auto;
    }
}

@media (max-width: 600px) {
    .hero-content h1 {
        font-size: 34px;
    }

    .hero-visual {
        min-height: 360px;
    }

    .benefit-grid,
    .popular-services {
        grid-template-columns: 1fr;
    }

    .floating-card {
        display: none;
    }
}


/* ====== PUBLICIDAD EN INICIO ====== */

.ads-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.ad-card {
    background: white;
    border-radius: 24px;
    padding: 26px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ad-label {
    width: fit-content;
    background: #fff3c4;
    color: #a66a00;
    font-weight: 800;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 13px;
}

.ad-card h3 {
    color: #102033;
    font-size: 24px;
}

.ad-type {
    color: #00a94f;
    font-weight: bold;
}

.ad-card p {
    color: #34495e;
    line-height: 1.5;
}

.ad-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: #34495e;
    font-weight: 700;
    margin: 8px 0;
}

@media (max-width: 900px) {
    .ads-grid {
        grid-template-columns: 1fr;
    }
}

/* ====== MEJORA VISUAL DE PUBLICIDAD EN INICIO ====== */

.ad-card {
    overflow: hidden;
    padding: 0;
}

.ad-image {
    width: 100%;
    height: 170px;
    background: linear-gradient(135deg, #00a94f, #d7f8e4);
}

.ad-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ad-image-placeholder {
    width: 100%;
    height: 100%;
    color: white;
    font-size: 62px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ad-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ad-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}

.ad-actions .btn-primary,
.ad-actions .btn-secondary {
    text-align: center;
}


/* ====== HERO DINÃMICO ====== */

.dynamic-service-card {
    display: flex;
    align-items: center;
    gap: 14px;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.dynamic-service-card.fade-swap {
    opacity: 0;
    transform: translateY(12px);
}

.dynamic-service-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: #f3fff7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    flex-shrink: 0;
}

.dynamic-service-card strong {
    display: block;
    font-size: 18px;
    color: #102033;
    margin-bottom: 4px;
}

.dynamic-service-card span {
    display: block;
    font-size: 15px;
    color: #008b45;
    line-height: 1.3;
}

.card-two.small {
    text-align: left;
}

.landing-hero .hero-content h1 {
    max-width: 720px;
}

.landing-hero .hero-content p {
    max-width: 620px;
}

/* Oculta el botÃ³n de menÃº en escritorio */
.menu-toggle {
    display: none;
}

/* ====== MENÃš RESPONSIVE ====== */

@media (max-width: 900px) {
    .site-navbar {
        position: relative;
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: #ffffff;
        border: none;
        border-radius: 12px;
        padding: 10px 14px;
        box-shadow: 0 6px 16px rgba(0,0,0,0.08);
        cursor: pointer;
        font-size: 22px;
        color: #102033;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 76px;
        left: 20px;
        right: 20px;
        background: #ffffff;
        padding: 18px;
        border-radius: 18px;
        box-shadow: 0 12px 30px rgba(0,0,0,0.12);
        flex-direction: column;
        z-index: 50;
    }

    .nav-links.open {
        display: flex;
    }
}
/* ====== LISTA DE TRABAJADORES ====== */

.workers-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.worker-card {
    background: white;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.worker-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.worker-avatar {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #d7f8e4;
    color: #008b45;
    font-weight: bold;
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.worker-card h2 {
    font-size: 22px;
    margin-bottom: 4px;
}

.service-name {
    color: #00a94f;
    font-weight: bold;
}

.worker-card p {
    margin-bottom: 8px;
    color: #34495e;
    line-height: 1.4;
}

.badges {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.badge {
    padding: 7px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
}

.verified {
    background: #d7f8e4;
    color: #008b45;
}

.featured {
    background: #fff3c4;
    color: #a66a00;
}

.worker-actions {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
/* ====== PERFIL DEL TRABAJADOR ====== */

.profile-card {
    background: white;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 25px;
}

.profile-avatar {
    width: 82px;
    height: 82px;
    border-radius: 50%;
    background: #d7f8e4;
    color: #008b45;
    font-size: 38px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-header h1 {
    font-size: 30px;
    margin-bottom: 5px;
}

.profile-info {
    background: #f6fbf8;
    border-radius: 16px;
    padding: 18px;
    margin-bottom: 25px;
}

.profile-info p {
    margin-bottom: 8px;
    color: #34495e;
}

.profile-section {
    margin-bottom: 28px;
}

.profile-section h2 {
    font-size: 22px;
    margin-bottom: 14px;
    color: #102033;
}

.profile-section p {
    color: #34495e;
    line-height: 1.5;
}

.verification-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.gallery-item {
    height: 110px;
    background: linear-gradient(135deg, #00a94f, #d7f8e4);
    border-radius: 14px;
    color: white;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.review-card {
    background: #f6fbf8;
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 10px;
    color: #34495e;
}

.profile-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
/* ====== FORMULARIO DE REGISTRO ====== */

.form-card {
    background: white;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.form-card form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.form-card label {
    font-weight: bold;
    color: #102033;
}

.form-card input,
.form-card select,
.form-card textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #cfd8dc;
    border-radius: 12px;
    font-size: 15px;
    outline: none;
}

.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
    border-color: #00a94f;
}

.form-button {
    border: none;
    cursor: pointer;
    margin-top: 10px;
    font-size: 16px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: normal !important;
    line-height: 1.4;
}

.checkbox-label input {
    width: auto;
    margin-top: 3px;
}

.notice-box {
    background: #e9fff1;
    border-left: 4px solid #00a94f;
    padding: 14px;
    border-radius: 12px;
    color: #34495e;
}

.error-box {
    background: #ffecec;
    border-left: 4px solid #e53935;
    color: #7a1c1c;
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 20px;
}

.error-box ul {
    margin-top: 10px;
    padding-left: 20px;
}

.success-card {
    background: white;
    border-radius: 20px;
    padding: 35px;
    text-align: center;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.success-icon {
    font-size: 52px;
    margin-bottom: 14px;
}

.success-card h2 {
    font-size: 26px;
    margin-bottom: 12px;
    color: #102033;
}

.success-card p {
    color: #34495e;
    margin-bottom: 18px;
    line-height: 1.5;
}

@media (max-width: 700px) {
    .profile-header {
        flex-direction: column;
        text-align: center;
    }

    .verification-list,
    .gallery {
        grid-template-columns: 1fr;
    }
}

/* ====== CAMPOS CONDICIONALES PARA EMPRENDIMIENTOS ====== */

.conditional-fields {
    background: #f6fbf8;
    border: 1px solid #d7f8e4;
    border-left: 5px solid #00a94f;
    border-radius: 18px;
    padding: 22px;
    margin: 16px 0;
}

.conditional-fields.hidden {
    display: none;
}

.conditional-fields h2 {
    color: #102033;
    font-size: 22px;
    margin-bottom: 8px;
}

.conditional-fields p {
    color: #34495e;
    margin-bottom: 16px;
    line-height: 1.5;
}
/* ====== LOGIN ADMIN ====== */

.login-card {
    max-width: 520px;
    margin: 40px auto;
    background: white;
    border-radius: 22px;
    padding: 36px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.10);
}

.login-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px auto;
    border-radius: 50%;
    background: #d7f8e4;
    color: #008b45;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
}

.login-card h1 {
    text-align: center;
    font-size: 30px;
    margin-bottom: 10px;
    color: #102033;
}

.login-card p {
    text-align: center;
    color: #34495e;
    margin-bottom: 20px;
}

.login-card form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.login-card label {
    font-weight: bold;
    color: #102033;
}

.login-card input {
    padding: 14px;
    border: 1px solid #cfd8dc;
    border-radius: 12px;
    font-size: 15px;
}

.login-card input:focus {
    outline: none;
    border-color: #00a94f;
}

.demo-access {
    font-size: 14px;
    margin-top: 20px;
}

/* ====== PANEL ADMIN ====== */

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

.admin-header h1 {
    font-size: 32px;
    color: #102033;
    margin-bottom: 6px;
}

.admin-header p {
    color: #34495e;
}

.logout-link {
    text-decoration: none;
    background: #f2f4f7;
    color: #102033;
    padding: 12px 16px;
    border-radius: 12px;
    font-weight: bold;
}

.success-message {
    background: #e9fff1;
    border-left: 4px solid #00a94f;
    padding: 16px;
    border-radius: 12px;
    color: #008b45;
    font-weight: bold;
    margin-bottom: 20px;
}

.admin-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 22px;
}

.summary-card {
    background: white;
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    text-align: center;
}

.summary-card span {
    display: block;
    color: #34495e;
    margin-bottom: 8px;
}

.summary-card strong {
    font-size: 30px;
    color: #008b45;
}

.admin-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.admin-tabs a {
    text-decoration: none;
    background: #f2f4f7;
    color: #102033;
    padding: 12px 18px;
    border-radius: 12px;
    font-weight: bold;
}

.admin-tabs a.active {
    background: #fff3c4;
    color: #a66a00;
}

.admin-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.request-card {
    background: white;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.request-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
}

.request-top h2 {
    font-size: 24px;
    margin-bottom: 5px;
}

.request-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 20px;
    color: #34495e;
    margin-bottom: 16px;
}

.details-box {
    background: #f6fbf8;
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 18px;
    color: #34495e;
}

.details-box summary {
    cursor: pointer;
    font-weight: bold;
    color: #102033;
    margin-bottom: 10px;
}

.details-box p {
    margin-top: 8px;
}

.admin-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.btn-approve,
.btn-reject {
    width: 100%;
    border: none;
    padding: 14px;
    border-radius: 12px;
    font-weight: bold;
    cursor: pointer;
    font-size: 15px;
}

.btn-approve {
    background: #00a94f;
    color: white;
}

.btn-reject {
    background: #ffdede;
    color: #c62828;
}

.badge.pendiente {
    background: #fff3c4;
    color: #a66a00;
}

.badge.aprobado {
    background: #d7f8e4;
    color: #008b45;
}

.badge.rechazado {
    background: #ffdede;
    color: #c62828;
}

@media (max-width: 700px) {
    .admin-header {
        flex-direction: column;
    }

    .admin-summary,
    .request-info,
    .admin-actions {
        grid-template-columns: 1fr;
    }
}


.admin-top-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* ====== EDICIÃ“N DE TRABAJADORES EN ADMIN ====== */

.admin-header-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.admin-edit-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 18px;
}

.admin-edit-form label {
    font-weight: bold;
    color: #102033;
}

.admin-edit-form input,
.admin-edit-form select,
.admin-edit-form textarea {
    width: 100%;
    padding: 13px;
    border: 1px solid #cfd8dc;
    border-radius: 12px;
    font-size: 15px;
    background: #ffffff;
}

.admin-edit-form textarea,
.admin-edit-form .checkbox-label,
.admin-edit-form .form-button {
    grid-column: 1 / -1;
}

.edit-details {
    border-left: 4px solid #00a94f;
}

@media (max-width: 800px) {
    .admin-edit-form {
        grid-template-columns: 1fr;
    }
}



/* ====== PANEL DE INGRESOS ====== */

.income-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin: 30px 0;
}

.income-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.08);
    border-left: 5px solid #00a94f;
}

.income-card.highlight {
    border-left-color: #008b45;
}

.income-card.warning {
    border-left-color: #f4b400;
}

.income-card span {
    display: block;
    color: #34495e;
    font-weight: bold;
    margin-bottom: 8px;
}

.income-card strong {
    display: block;
    font-size: 30px;
    color: #008b45;
    margin-bottom: 6px;
}

.income-card p {
    color: #34495e;
    font-size: 14px;
}

.income-section {
    margin-top: 38px;
}

.section-title-left {
    margin-bottom: 20px;
}

.section-title-left h2 {
    color: #102033;
    font-size: 30px;
    margin-bottom: 6px;
}

.section-title-left p {
    color: #34495e;
}

.income-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.income-row {
    background: #ffffff;
    border-radius: 18px;
    padding: 18px 22px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.07);
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
}

.income-row strong {
    color: #102033;
    font-size: 18px;
}

.income-row p {
    color: #34495e;
    margin-top: 5px;
}

.money {
    font-weight: bold;
    color: #008b45;
    font-size: 20px;
    white-space: nowrap;
}

/* ====== TARJETAS DE PUBLICIDAD EN INGRESOS ====== */

.income-ad-card {
    padding: 0;
    overflow: hidden;
}

.income-ad-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 0;
}

.income-ad-image {
    background: linear-gradient(135deg, #00a94f, #d7f8e4);
    min-height: 100%;
}

.income-ad-image img {
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
}

.income-ad-placeholder {
    width: 100%;
    height: 100%;
    min-height: 260px;
    color: #ffffff;
    font-size: 70px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
}

.income-ad-content {
    padding: 26px;
}

.income-ad-info {
    margin-top: 18px;
}

.income-dates {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 18px 0;
}

.income-dates div {
    background: #f2fbf6;
    border-radius: 14px;
    padding: 14px;
}

.income-dates span {
    display: block;
    color: #34495e;
    font-size: 13px;
    margin-bottom: 5px;
}

.income-dates strong {
    color: #102033;
}

.badge.vencido {
    background: #fde2e2;
    color: #b00020;
}

/* ====== RESPONSIVE PANEL INGRESOS ====== */

@media (max-width: 1000px) {
    .income-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .income-ad-layout {
        grid-template-columns: 1fr;
    }

    .income-ad-image img,
    .income-ad-placeholder {
        min-height: 200px;
    }
}

@media (max-width: 700px) {
    .income-grid,
    .income-dates {
        grid-template-columns: 1fr;
    }

    .income-row {
        flex-direction: column;
        align-items: flex-start;
    }
}



/* ====== PLANES DE PUBLICIDAD ====== */

.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    align-items: stretch;
    margin-top: 35px;
    margin-bottom: 30px;
}

.plan-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 32px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 100%;
}

.plan-card.featured {
    border-color: #00a94f;
    transform: translateY(-10px);
    box-shadow: 0 14px 34px rgba(0, 169, 79, 0.18);
}

.plan-badge {
    display: inline-block;
    background: #fff2bf;
    color: #9a6500;
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: bold;
    font-size: 14px;
    width: fit-content;
}

.plan-card h2 {
    font-size: 28px;
    color: #102033;
    line-height: 1.15;
}

.plan-card h3 {
    font-size: 34px;
    color: #008b45;
    margin: 0;
}

.plan-card h3 span {
    font-size: 16px;
    color: #34495e;
    font-weight: normal;
}

.plan-card p {
    color: #34495e;
    font-size: 16px;
    line-height: 1.5;
}

.plan-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.plan-card li {
    color: #102033;
    font-size: 15px;
    line-height: 1.35;
}

.plan-card .btn-primary {
    margin-top: auto;
    text-align: center;
}

/* ====== RESPONSIVE PLANES ====== */

@media (max-width: 1000px) {
    .plans-grid {
        grid-template-columns: 1fr;
    }

    .plan-card.featured {
        transform: none;
    }
}

/* ====== PLAN SELECCIONADO EN FORMULARIO ====== */

.selected-plan-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.08);
    border-left: 6px solid #00a94f;
    margin-bottom: 24px;
}

.selected-plan-card h2 {
    color: #102033;
    font-size: 28px;
    margin-top: 10px;
}

.selected-plan-card h3 {
    color: #008b45;
    font-size: 32px;
    margin: 8px 0;
}

.selected-plan-card h3 span {
    color: #34495e;
    font-size: 16px;
    font-weight: normal;
}

.selected-plan-card p {
    color: #34495e;
    line-height: 1.5;
}
/* ====== PLANES PARA TRABAJADORES ====== */

.worker-plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    align-items: stretch;
    margin-top: 35px;
    margin-bottom: 30px;
}

.worker-plan-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 32px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.worker-plan-card.featured {
    border-color: #00a94f;
    transform: translateY(-10px);
    box-shadow: 0 14px 34px rgba(0, 169, 79, 0.18);
}

.worker-plan-card.premium {
    border-color: #008b45;
}

.worker-plan-card h2 {
    font-size: 28px;
    color: #102033;
    line-height: 1.15;
}

.worker-plan-card h3 {
    font-size: 34px;
    color: #008b45;
    margin: 0;
}

.worker-plan-card h3 span {
    font-size: 16px;
    color: #34495e;
    font-weight: normal;
}

.worker-plan-card p {
    color: #34495e;
    font-size: 16px;
    line-height: 1.5;
}

.worker-plan-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.worker-plan-card li {
    color: #102033;
    font-size: 15px;
    line-height: 1.35;
}

.worker-plan-card .btn-primary {
    margin-top: auto;
    text-align: center;
}

.premium-badge {
    background: #dff7ff;
    color: #006b8f;
}

/* ====== RESPONSIVE PLANES TRABAJADORES ====== */

@media (max-width: 1000px) {
    .worker-plans-grid {
        grid-template-columns: 1fr;
    }

    .worker-plan-card.featured {
        transform: none;
    }
}
