
/* ===================================
   LOGIN CUSTOM CSS - RADIÓLOGOS VIRTUALES
   ================================= */

/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Manrope', sans-serif !important;
    background: linear-gradient(135deg, #E9F5F7 0%, #E9F5F7 100%) !important;
    min-height: 100vh;
}

/* Override AdminLTE */
.login-page {
    background: linear-gradient(135deg, #E9F5F7 0%, #E9F5F7 100%) !important;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Contenedor principal centrado */
.main-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Contenedor del login */
.login-container {
    background: transparent;
    width: 100%;
    max-width: 400px;
    text-align: center;
}

/* Logo personalizado clickeable */
.logo {
    width: 200px;
    height: 220px;
    margin: 0 auto 15px;
    background: url('https://i.imgur.com/x1r5cVE.png') center/contain no-repeat;
    cursor: pointer;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
    opacity: 0.8;
}

/* Títulos */
.login-title {
    background: linear-gradient(135deg, #007ABF 0%, #26C485 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 40px;
    font-weight: 800;
    margin-bottom: -5px;
    text-align: center;
}

.session-text {
    color: #101724;
    font-size: 25px;
    font-weight: 800;
    margin-bottom: 30px;
    text-align: center;
}

/* Form styles */
.form-group {
    margin-bottom: 20px;
    position: relative;
}

.input-container {
    position: relative;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    width: 100%;
}

.form-input {
    width: 100% !important;
    padding: 15px 20px;
    padding-right: 65px;
    background: #101724 !important;
    color: white !important;
    border: none !important;
    border-radius: 10px !important;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: none !important;
    height: 55px;
}

.form-input::placeholder {
    color: #95a5a6 !important;
}

.form-input:focus {
    background: #1a2332 !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2) !important;
    border: none !important;
}

.input-icon {
    position: absolute;
    right: 0px;
    width: 55px;
    height: 55px;
    background: #26C485;
    border-radius: 0 10px 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.input-icon img {
    filter: brightness(0) invert(1);
}

.icon-email { width: 22px; height: 22px; }
.icon-lock { width: 20px; height: 24px; }
.icon-login { width: 24px; height: 24px; }

.input-container:focus-within {
    transform: translateY(-2px) scale(1.02);
}

/* Remember and login button */
.remember-login-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 15px;
    padding-left: 5px;
}

.remember-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.remember-checkbox {
    width: 18px;
    height: 18px;
    accent-color: #26C485;
}

.remember-label {
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

.login-btn {
    padding: 12px 20px !important;
    background: linear-gradient(135deg, #007ABF 0%, #26C485 100%) !important;
    color: white !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
    min-width: 120px;
    height: 45px;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 122, 191, 0.3) !important;
    color: white !important;
}

.login-btn img {
    filter: brightness(0) invert(1);
}

/* Links */
.register-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    margin-top: 20px;
}

.register-link, .forgot-link {
    color: #666 !important;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.register-link:hover, .forgot-link:hover {
    color: #007ABF !important;
}

/* Footer fijo abajo */
.footer {
    background: #101724;
    color: white;
    padding: 20px;
    text-align: center;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-text {
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 14px;
}

.footer-links a:hover {
    color: #26C485;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 35px;
    height: 35px;
    background: #1a2332;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #007ABF;
    transform: translateY(-2px);
}

.social-icon img {
    filter: brightness(0) invert(1);
}

.icon-facebook { width: 18px; height: 18px; }
.icon-instagram { width: 20px; height: 20px; }
.icon-twitter { width: 19px; height: 19px; }
.icon-email-footer { width: 18px; height: 18px; }
.icon-linkedin { width: 19px; height: 19px; }

/* Animaciones */
@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .main-wrapper {
        padding: 10px;
    }

    .login-container {
        max-width: 350px;
    }

    .footer {
        position: relative;
        margin-top: 30px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .footer-links {
        justify-content: center;
    }

    .remember-login-container {
        flex-direction: column;
        gap: 15px;
    }

    .login-btn {
        width: 100%;
        min-width: auto;
    }
}

/* Ocultar elementos AdminLTE que interfieren */
.login-box,
.card,
.card-body,
.login-logo {
    display: none !important;
}
