:root {
    --primary-blue: #2b65f4;
    --dark-blue: #1e5a85;
    --brand-blue: #3b71fe;
    --btn-secondary-blue: #6389cb;
    --cyan-item: #00b9e8;
    --blue-item: #3b71fe;
    --green-item: #00b140;
    --purple-item: #5b21ff;
    --mint-bg: #d9f9f0;
    --blue-gradient: linear-gradient(135deg, #3a7fff 0%, #2563eb 100%);

    --input-bg: #f3f4f6;
    --text-muted: #6b7280;
    --card-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

body {
    font-family: 'Titillium Web', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

.main-wrapper {
    width: 100%;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    position: relative;

}

.header-logo {
    padding: 20px 0;
    text-align: center;
    background-color: #fff;
    z-index: 20;
    border-bottom: 1px solid #eee;
}

.header-logo img {
    max-width: 200px;
    max-height: 60px;
    width: auto;
}

.hero-section {
    position: relative;
    min-height: 500px;
    padding-top: 60px;
    padding-bottom: 120px;
    z-index: 1;

}

.index{
    background-image: url(../img/fondo2.png);
    background-size: cover;
}

.hero-content {
    z-index: 2;
}

.programa-label {
    color: var(--blue-item);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0;
    text-transform: uppercase;
}

.brand-title {
    color: var(--blue-item);
    font-weight: 800;
    font-size: 3.5rem;
    line-height: 1;
}

.brand-subtitle {
    color: var(--dark-blue);
    font-weight: 700;
    font-size: 0.9rem;
    margin-top: -5px;
    margin-bottom: 30px;
}

.hero-headline {
    color: var(--blue-item);
    font-weight: 800;
    font-size: 2.2rem;
    margin-bottom: 5px;
}

.hero-hashtag {
    color: #333;
    font-weight: 600;
    font-size: 1.8rem;
    margin-bottom: 40px;
}

.btn-custom-blue {
    background-color: var(--blue-item);
    color: white;
    border-radius: 10px;
    padding: 12px 40px;
    font-weight: 700;
    border: none;
    transition: transform 0.2s;
}

.btn-custom-dark {
    background-color: var(--dark-blue);
    color: white;
    border-radius: 10px;
    padding: 12px 40px;
    font-weight: 700;
    border: none;
    transition: transform 0.2s;
}

.btn-custom-blue:hover, .btn-custom-dark:hover {
    transform: scale(1.05);
    color: #eee;
}

.man-image {
    max-width: 100%;
    height: auto;
    margin-top: -40px;
}

.features-section {
    margin-top: -60px;
    padding-bottom: 80px;
    position: relative;
    z-index: 10;
}

.feature-box {
    color: white;
    padding: 12px 25px;
    border-radius: 12px;
    margin-bottom: 15px;
    font-weight: 700;
    width: fit-content;
    min-width: 300px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.bg-cyan { background-color: var(--cyan-item); }
.bg-blue { background-color: var(--blue-item); }
.bg-green { background-color: var(--green-item); }
.bg-purple { background-color: var(--purple-item); }

.video-container {
    position: relative;
    background-color: #444;
    aspect-ratio: 16/9;
    border-radius: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.abstract-bg {
    position: absolute;
    right: -20px;
    top: -20px;
    width: 100%;
    height: 100%;
    background: var(--blue-gradient);
    opacity: 0.2;
    z-index: -1;
    border-radius: 20px;
}

.play-button {
    width: 80px;
    height: 80px;
    background-color: rgba(255,255,255,0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-triangle {
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 25px solid red;
    margin-left: 5px;
}

.login-container, .page-container {
    flex-grow: 1;
    background: var(--blue-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;

background: linear-gradient(135deg, #26c6da 0%, #2979ff 100%);


}

.login-card, .recovery-card, .reset-card, .register-card, .form-card {
    background: white;
    border-radius: 30px;
    width: 100%;
    max-width: 580px;
    padding: 50px 60px;
    box-shadow: var(--card-shadow);
    text-align: center;
}

.register-card, .form-card {
    max-width: 850px;
    padding: 60px 80px;
}

.login-title, .recovery-title, .reset-title, .register-title, .form-title {
    font-weight: bold;
    color: #1f2937;
    font-size: 1.8rem;
    margin-bottom: 15px;
    line-height: 1.2;
}

.form-title{
    font-weight: bold;
}

.login-subtitle, .recovery-description, .reset-description, .register-description, .form-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 35px;
    line-height: 1.5;
}

.section-divider-title {
    color: var(--brand-blue);
    font-weight: 700;
    font-size: 1.1rem;
    text-align: left;
    margin-top: 30px;
    margin-bottom: 20px;
}

.form-label {
    font-weight: 600;
    color: #4b5563;
    font-size: 0.9rem;
    margin-bottom: 8px;
    display: block;
    text-align: left;
}

.form-label-small {
    font-size: 0.75rem;
    font-weight: 400;
}

.input-group-custom, .form-group-custom {
    margin-bottom: 20px;
    position: relative;
}

.form-control-custom {
    background-color: var(--input-bg);
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 12px 18px;
    font-size: 0.95rem;
    color: #374151;
    width: 100%;
    min-height: 48px;
    font-family: 'Titillium Web', sans-serif;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

.form-control-custom::placeholder {
    color: #9ca3af;
}

textarea.form-control-custom {
    min-height: 120px;
    align-items: flex-start;
    resize: none;
}

.char-counter {
    text-align: right;
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 5px;
}

.form-select-custom {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%232b65f4' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1.2rem center;
    background-size: 14px 10px;
    cursor: pointer;
    position: relative;
}

.form-control-custom:focus {
    outline: none;
    border-color: var(--brand-blue);
    background-color: #fff;
}

.custom-select-wrapper {
    position: relative;
}

.custom-dropdown-menu {
    position: absolute;
    top: calc(100% + 5px);
    left: 20px;
    right: 0;
    width: calc(100% - 20px);
    background-color: #f1f3f6;
    border: 1px solid #e2e8f0;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    z-index: 100;
    padding: 10px 0;
    text-align: left;
    display: none;
}

.custom-dropdown-menu.show {
    display: block;
}

.custom-dropdown-item {
    padding: 8px 25px;
    color: #4b5563;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.custom-dropdown-item:hover {
    background-color: #e5e7eb;
    color: var(--brand-blue);
}

.form-check {
    display: flex;
    align-items: center;
    padding-left: 0;
    margin-bottom: 12px;
    cursor: pointer;
}

.form-check-input {
    appearance: none;
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    margin-top: 0;
    margin-right: 12px;
    border-radius: 6px !important;
    border: 1.5px solid #adb5bd;
    background-color: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 70%;
}

.form-check-input:checked {
    background-color: #fff;
    border-color: #adb5bd;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23888888' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M5 10l3 3l7-7'/%3e%3c/svg%3e")!important;
}

.form-check-input:focus {
    box-shadow: none;
    border-color: #6c757d;
}

.form-check .form-check-input{
    margin-left: 0;
}

.form-check-label {
    color: #6c757d;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    user-select: none;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    text-align: left;
    margin-top: 15px;
}

@media (max-width: 768px) {
    .checkbox-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .checkbox-grid {
        grid-template-columns: 1fr;
    }
}

.conditional-section {
    display: none;
    margin-top: 20px;
    padding-top: 10px;
}

.conditional-section.show {
    display: block;
}

.btn-entrar, .btn-enviar {
    background-color: var(--brand-blue);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 14px;
    font-weight: 700;
    font-size: 1rem;
    width: 100%;
    margin-top: 20px;
    transition: all 0.3s ease;
    font-family: 'Titillium Web', sans-serif;
}

.btn-enviar {
    background-color: var(--btn-secondary-blue);
    width: auto;
    min-width: 300px;
}

.btn-entrar:hover, .btn-enviar:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.forgot-password, .no-account, .auth-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
}

.forgot-password:hover, .no-account:hover {
    color: var(--brand-blue);
}

.forgot-password { float: right; }
.no-account { display: block; margin-top: 15px; font-size: 0.9rem; }

footer {
    background-color: var(--primary-blue);
    color: white;
    padding: 20px 0;
    font-size: 0.8rem;
}

footer a {
    color: white;
    text-decoration: none;
    font-weight: 600;
}

@media (max-width: 992px) {
    .brand-title { font-size: 2.5rem; }
    .hero-headline { font-size: 1.8rem; }
    .hero-hashtag { font-size: 1.4rem; }
    .man-image { margin-top: 20px; }
    .hero-section { clip-path: none; border-radius: 0 0 50px 50px; }
    .register-card, .form-card { padding: 40px 30px; }
}

@media (max-width: 576px) {
    .login-card, .recovery-card, .reset-card, .register-card, .form-card {
        padding: 40px 25px;
    }
    .login-title, .recovery-title, .reset-title, .register-title, .form-title {
        font-size: 1.5rem;
    }
    .btn-enviar {
        width: 100%;
        min-width: unset;
    }
}