﻿
/* TUS ESTILOS ORIGINALES */
.text-center {
    text-align: center;
}

.text-error {
    color: red;
}

.anchomaximo {
    width: 100%;
}

.loader {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 988;
    background: rgba(249,249,249, 0.95);
    opacity: .8;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .loader::after {
        content: '';
        width: 50px;
        height: 50px;
        border: 5px solid #f3f3f3;
        border-top: 5px solid #FFD700;
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#toast_message_dev {
    visibility: hidden;
    min-width: 250px;
    text-align: center;
    border-radius: 2px;
    padding: 16px;
    position: fixed;
    z-index: 981;
    right: 2%;
    top: 30px;
    font-size: 15px;
    -webkit-box-shadow: 1px 1px 2px 0px rgba(50, 50, 50, 0.75);
    -moz-box-shadow: 1px 1px 2px 0px rgba(50, 50, 50, 0.75);
    box-shadow: 1px 1px 2px 0px rgba(50, 50, 50, 0.75);
}

    #toast_message_dev.show {
        visibility: visible;
        -webkit-animation: mostrarmitoast 0.5s, ocultarmitoast 0.5s 2.5s;
        animation: mostrarmitoast 0.5s, ocultarmitoast 0.5s 2.5s;
    }

@-webkit-keyframes mostrarmitoast {
    from {
        top: 0;
        opacity: 0;
    }

    to {
        top: 30px;
        opacity: 1;
    }
}

@keyframes mostrarmitoast {
    from {
        top: 0;
        opacity: 0;
    }

    to {
        top: 30px;
        opacity: 1;
    }
}

@-webkit-keyframes ocultarmitoast {
    from {
        top: 30px;
        opacity: 1;
    }

    to {
        top: 0;
        opacity: 0;
    }
}

@keyframes ocultarmitoast {
    from {
        top: 30px;
        opacity: 1;
    }

    to {
        top: 0;
        opacity: 0;
    }
}

.btn-aux {
    background: #00b7ff;
    border: medium none;
    border-radius: 0 !important;
    color: #FFFFFF;
    display: block;
    font-family: 'Roboto', sans-serif;
    padding: 6px 25px !important;
    margin-top: 15px;
}

    .btn-aux:hover {
        color: #333;
        background-color: #ebebeb;
        border-color: #adadad;
    }

.show_password {
    padding: 7px 5px;
    background: #f6f7f6;
    margin-bottom: 10px;
    display: inline-block;
}

/* FONDO CON TEMA AÑO NUEVO */
body {
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    background-size: cover;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, "San Francisco", "Helvetica Neue", Arial;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 40px;
    overflow-x: hidden;
    position: relative;
}

/* Estrellas de fondo */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    animation: twinkle 3s infinite;
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }
}

/* Texto de Feliz Año Nuevo */
.new-year-text {
    position: fixed;
    top: 1%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
    animation: fadeInDown 1.5s ease-out;
}

    .new-year-text h1 {
        font-size: 3.5rem;
        font-weight: bold;
        background: linear-gradient(45deg, #FFD700, #0047AB, /* azul real */
        #1E90FF, #FF69B4, #FFD700 );
        background-size: 300% 300%;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
        animation: gradientShift 3s ease infinite;
        margin: 0;
        line-height: 1.2;
    }

    .new-year-text h2 {
        font-size: 5rem;
        font-weight: bold;
        color: #B3FF73;
        text-shadow: 0 0 20px #FFD700, 0 0 40px #FFA500, 0 0 60px #FF69B4;
        animation: glow 2s ease-in-out infinite;
        margin: -10px 0;
        line-height: 1;
    }

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes glow {
    0%, 100% {
        text-shadow: 0 0 20px #FFD700, 0 0 40px #FFA500, 0 0 60px #FF69B4;
    }

    50% {
        text-shadow: 0 0 30px #FFD700, 0 0 60px #FFA500, 0 0 90px #FF69B4;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Fuegos artificiales */
.firework {
    position: fixed;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 2;
}

/* Confeti */
.confetti {
    position: fixed;
    width: 10px;
    height: 10px;
    pointer-events: none;
    z-index: 2;
}

/* Container principal */
#root {
    position: relative;
    z-index: 999999;
    width: 100%;
    max-width: 500px;
    top:70px;
}

/* Logo */
.logo-ios {
    width: 300px;
    display: block;
    margin: 40px auto 10px auto;
    filter: drop-shadow(0 4px 12px rgba(255, 215, 0, 0.4));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.login-container {
    max-width: 380px;
    margin: 0px auto;
    padding: 15px 35px 35px 35px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(25px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3), 0 0 40px rgba(255, 215, 0, 0.2);
    border: 2px solid rgba(255, 215, 0, 0.3);
    animation: slideUp 1s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ios-title {
    font-size: 30px;
    font-weight: 650;
    color: #111;
    text-align: center;
    margin-bottom: 35px;
}

.ios-input {
    width: 100%;
    padding: 14px 26px;
    margin-bottom: 18px;
    border: 1px solid #dcdcdc;
    border-radius: 14px;
    font-size: 15px;
    background: #fafafa;
    transition: 0.2s;
}

    .ios-input:focus {
        border-color: #FFD700;
        background: #fff;
        box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.18);
        outline: none;
    }

.ios-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #1565C0, #42A5F5);
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    border-radius: 14px;
    text-align: center;
    cursor: pointer;
    transition: 0.2s;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

    .ios-btn:hover {
        background: linear-gradient(135deg, #4FACFE, #00C6FF);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
    }

.toggle-eye {
    position: absolute;
    right: 12px;
    top: 12px;
    cursor: pointer;
    font-size: 20px;
    color: #555;
    z-index: 10;
}

.input-wrapper {
    position: relative;
}

.sub-link {
    display: block;
    margin-top: 5px;
    margin-bottom: 15px;
    text-align: right;
    font-size: 13px;
    color: #007aff;
    cursor: pointer;
    transition: 0.2s;
}

    .sub-link:hover {
        color: #0066d6;
        text-decoration: underline;
    }

.social {
    margin-top: 18px;
    text-align: center;
    font-size: 14px;
    color: #444;
}

    .social i {
        font-size: 22px;
        margin: 0 10px;
        color: #0f73ff;
        cursor: pointer;
        transition: 0.3s;
    }

        .social i:hover {
            color: #FFA500;
            transform: scale(1.2);
        }

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

    .modal.show {
        display: flex;
        align-items: center;
        justify-content: center;
    }

.modal-dialog {
    width: 90%;
    max-width: 500px;
}

.modal-content {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 15px;
    margin-bottom: 20px;
    position: relative;
}

.modal-title {
    font-size: 24px;
    font-weight: 600;
    color: #1d1d1f;
}

.btn-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #86868b;
    position: absolute;
    right: 0;
    top: -5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .btn-close:hover {
        color: #333;
    }

.modal-footer {
    border-top: 2px solid #f0f0f0;
    padding-top: 20px;
    margin-top: 20px;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
}

.btn-secondary {
    background: #e0e0e0;
    color: #1d1d1f;
}

.btn-info {
    background: linear-gradient(135deg, #007aff, #0066d6);
    color: white;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.ancho_mitad {
    min-width: 120px;
}

table {
    width: 100%;
    margin-bottom: 0;
}

    table td {
        padding: 10px;
        text-align: left;
    }

.centrar {
    text-align: center !important;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
}

    .form-control:focus {
        outline: none;
        border-color: #007aff;
    }

.div-error {
    margin-top: 10px;
}

@media (max-width: 768px) {
    .new-year-text h1 {
        font-size: 2rem;
    }

    .new-year-text h2 {
        font-size: 3.5rem;
    }

    .login-container {
        padding: 20px 25px 30px 25px;
    }

    .logo-ios {
        width: 220px;
        margin: 20px auto 10px auto;
    }

    body {
        padding-top: 20px;
    }
}

@media (max-width: 480px) {
    .new-year-text h1 {
        font-size: 1.5rem;
    }

    .new-year-text h2 {
        font-size: 2.5rem;
    }
}




