/* Reset y Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.body-registro {
    overflow-x: hidden;
    padding-top: 80px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8eef5 100%);
    min-height: 100vh;
}

/* Variables CSS */
:root {
    --primary-color: #00baad;
    --primary-hover: #009991;
    --primary-active: #008580;
    --text-dark: #333333;
    --text-light: #666666;
    --text-orange: #f18718;
    --text-cian: #00baad;
    --bg-white: #ffffff;
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 15px rgba(0, 186, 173, 0.3);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========== HEADER ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo {
    display: flex;
    align-items: center;
}

.header-logo a {
    display: block;
    line-height: 0;
}

.header-logo img {
    height: 45px;
    width: auto;
    transition: var(--transition);
}

.header-logo img:hover {
    transform: scale(1.05);
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-nav ul {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.header-nav li {
    display: inline-block;
}

.body-registro .nav-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 25px;
    transition: var(--transition);
}

.body-registro .nav-link:hover {
    color: var(--primary-color);
    background-color: rgba(0, 186, 173, 0.05);
}

.body-registro  .btn {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 30px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-outline {
    color: var(--primary-color) !important;
    background-color: transparent !important;
    border-color: var(--primary-color) !important;
}

.btn-outline:hover {
    color: var(--bg-white) !important;
    background-color: var(--primary-color) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-primary {
    color: var(--bg-white) !important;
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 2px 8px rgba(0, 186, 173, 0.25);
}

.btn-primary:hover {
    background-color: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--primary-color);
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
    transition: var(--transition);
}

.mobile-toggle:hover {
    transform: scale(1.1);
}

/* ========== MAIN CONTENT ========== */
main {
    min-height: calc(100vh - 80px);
    padding: 40px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.main-container {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.title,
.card-title {
    color: #01bcae;
}

.logo-form>img {
    width: 200px;
    height: 50px;
}

.form-group>label {
    font-weight: bold;
    color: var(--text-dark) !important;
    margin-bottom: 0.5rem;
    font-size: 12px !important;
}

.form-control {
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: var(--transition);
    background-color: #f8f9fa;
}

.form-control:focus {
    box-shadow: none !important;
    border-color: var(--primary-color) !important;
    background-color: var(--bg-white) !important;
    outline: none !important;
}

.form-control:hover {
    border-color: #c0c0c0;
}

.card {
    border-radius: 15px;
    border: none;
    box-shadow: var(--shadow-lg);
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Password Toggle Container */
.password-field {
    position: relative;
}

.password-field .form-control {
    padding-right: 45px;
}

.password-toggle-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #6c757d;
    font-size: 1.2rem;
    transition: var(--transition);
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
}

.password-toggle-icon:hover {
    color: var(--primary-color);
    background-color: rgba(0, 186, 173, 0.1);
}

.text-cian {
    color: var(--text-cian) !important;
}

.text-orange {
    color: var(--text-orange) !important;
}

.link {
    color: var(--text-cian);
}

.link:hover {
    color: var(--text-cian);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 991px) {
    .box-ola01 {
        display: none;
    }

    .header-container {
        padding: 1rem 1.5rem;
    }

    .header-nav ul {
        gap: 0.3rem;
    }

    .body-registro .nav-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }

    .body-registro .btn {
        padding: 0.5rem 1.2rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 767px) {
    body {
        padding-top: 70px;
    }

    .header-container {
        padding: 0.75rem 1rem;
    }

    .header-logo img {
        height: 35px;
    }

    .mobile-toggle {
        display: block;
    }

    .header-nav ul {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 70px);
        background-color: var(--bg-white);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        gap: 0.5rem;
        padding: 2rem 1.5rem;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
    }

    .header-nav ul.active {
        right: 0;
    }

    .header-nav li {
        width: 100%;
    }

    .body-registro .nav-link,
    .header-nav .btn {
        display: block;
        width: 100%;
        text-align: center;
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
    }

    .mobile-overlay {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        z-index: 999;
    }

    .mobile-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    main {
        padding: 20px 0;
    }

    .circle-pattern {
        display: none;
    }

    .logo-form>img {
        width: 150px;
        height: auto;
    }
}

@media (max-width: 480px) {
    .header-logo img {
        height: 32px;
    }

    .card {
        padding: 15px;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Accesibilidad */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.body-registro .nav-link:focus-visible,
.btn:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
}

.actions-table {
    color: #333333 !important;
    font-size: 15px !important;
}