[data-page="_global_login"][data-itemid="login-logo"] {
  font-size: 24px;
}
[data-page="_global_login"][data-itemid="page_image_ash8f23hr"] {
  width: 400px;
}




/* Estilos base */
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
.content {
    background-color: white;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    max-width: 100%;
    overflow: hidden;
}

.cell {
    flex: 1 1 auto;
    padding: 0;
    margin: 5px;
    background-color: white;
    border: 1px solid transparent;
    text-align: center;
}

img {
    max-width: 100%;
    height: auto;
}

/* Contenedor principal */
.login-container-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1000px;
    margin: 20px auto;
    padding: 0 15px;
    flex: 1;
}

.login-main-content {
    display: flex;
    width: 100%;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 20px;
}

/* Sección de imagen */
.r-sideimage {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    cursor: pointer;
    transition: background 0.3s ease;
}

.r-sideimage:hover {
    background: #e9e9e9;
}

.r-image {
    padding: 40px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.r-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.r-sideimage:hover .r-image img {
    transform: scale(1.03);
}

/* Sección de formulario */
.r-controls {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 40px;
}

.r-mainform {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
}

/* Encabezado granate con icono */
.r-form[data-location="top"] {
    background-color: #8B2332;
    color: white;
    padding: 30px 25px;
    text-align: center;
    position: relative;
    margin-bottom: 30px;
    border-radius: 5px;
}

[data-itemid="login-logo"] {
    font-size: 24px;
    font-weight: 600;
    margin: 0;
    color: white !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

[data-itemid="login-logo"]::before {
    content: "\f015";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 10px;
    font-size: 22px;
}

[data-itemid="login_welcome"] {
    font-size: 14px;
    margin-top: 8px;
    opacity: 0.9;
    display: flex;
    align-items: center;
    justify-content: center;
}

[data-itemid="login_welcome"]::before {
    content: "\f2f6";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 8px;
    font-size: 16px;
}

/* Campos del formulario */
.r-edit-label {
    position: relative;
    padding-left: 30px;
    font-weight: 500;
    color: #555;
    margin-bottom: 8px;
    font-size: 14px;
}

.r-edit-label[for="username"]::before {
    content: "\f007";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #8B2332;
    font-size: 16px;
}

.r-edit-label[for="password"]::before {
    content: "\f023";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #8B2332;
    font-size: 16px;
}

.form-control {
    padding: 12px 15px 12px 35px;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-bottom: 15px;
    transition: all 0.3s;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
}

.form-control:focus {
    border-color: #8B2332;
    box-shadow: 0 0 0 3px rgba(139, 34, 50, 0.1);
    outline: none;
}

/* Botones */
[data-itemid="login_button"] a {
    background-color: #8B2332 !important;
    border: none !important;
    padding: 14px 20px !important;
    font-weight: 500 !important;
    width: 100%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.3s;
    margin-top: 5px;
    color: white !important;
    text-decoration: none !important;
    font-size: 16px;
}

[data-itemid="login_button"] a::before {
    content: "\f090";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 10px;
    font-size: 16px;
}

[data-itemid="login_button"] a:hover {
    background-color: #7a1d2b !important;
}

[data-itemid="guest_login"] a {
    color: #8B2332 !important;
    display: flex !important;
    align-items: center;
    padding: 10px 0 !important;
    font-weight: 500 !important;
    justify-content: center;
    transition: all 0.3s;
    text-decoration: none !important;
    font-size: 15px;
}

[data-itemid="guest_login"] a::before {
    content: "\f0c0";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 8px;
    font-size: 16px;
}

[data-itemid="guest_login"] a:hover {
    color: #6a1725 !important;
}

/* Checkbox */
[data-itemid="remember_password"] {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

[data-itemid="remember_password"] label {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin: 0;
    font-size: 14px;
    color: #555;
    position: relative;
    padding-left: 28px;
}

[data-itemid="remember_password"] input[type="checkbox"] {
    display: none;
}

[data-itemid="remember_password"] label::before {
    content: "\f0c8";
    font-family: "Font Awesome 6 Free";
    font-weight: 400;
    position: absolute;
    left: 0;
    color: #8B2332;
    font-size: 18px;
    transition: all 0.2s;
}

[data-itemid="remember_password"] input[type="checkbox"]:checked + label::before {
    content: "\f14a";
    font-weight: 900;
}

/* Footer debajo de la imagen */
.login-footer-below-image {
    width: 100%;
    background: #f1f1f1;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    font-size: 14px;
    color: #555;
    border-top: 1px solid #ddd;
    margin-bottom: 20px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.phone-link {
    color: #8B2332;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    padding: 8px 0;
    transition: color 0.3s;
}

.phone-link:hover {
    color: #6a1725;
    text-decoration: underline;
}

.schedule {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.schedule-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
}

.schedule-item i {
    color: #8B2332;
    margin-right: 8px;
}

.schedule-item strong {
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .login-main-content {
        flex-direction: column;
    }
    
    .r-sideimage {
        min-height: 200px;
        padding: 20px;
    }
    
    .r-controls {
        padding: 25px;
    }
    
    .r-form[data-location="top"] {
        padding: 20px 15px;
        margin-bottom: 20px;
    }
    
    [data-itemid="login-logo"] {
        font-size: 20px;
    }
    
    .form-control {
        padding: 12px 15px 12px 35px;
        font-size: 16px;
    }
    
    .schedule-item {
        justify-content: flex-start;
        text-align: left;
    }
    
    /* Header responsive */
    .hdos, .hseis, .hcuatro, .hcinco {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .r-controls {
        padding: 20px 15px;
    }
    
    [data-itemid="login_button"] a,
    [data-itemid="guest_login"] a {
        font-size: 15px;
        padding: 12px 15px !important;
    }
    
    .login-footer-below-image {
        padding: 15px;
        font-size: 13px;
    }
    
    /* Header responsive para móviles muy pequeños */
    .huno {
        display: none !important;
    }
}

@media (max-width: 320px) {
    .form-control {
        padding: 10px 12px 10px 35px;
    }
    
    .r-form[data-location="top"] {
        padding: 15px 10px;
    }
    
    [data-itemid="remember_password"] label {
        font-size: 13px;
    }
}

/* Nuevos estilos para el footer del sistema */
.system-footer {
    width: 100%;
    text-align: center;
    padding: 15px 0;
    font-size: 13px;
    color: #666;
    margin-top: 20px;
    border-top: 1px solid #eee;
    background-color: #f9f9f9;
    border-radius: 0 0 8px 8px;
}

/* Responsive para el footer del sistema */
@media (max-width: 768px) {
    .system-footer {
        font-size: 12px;
        padding: 12px 10px;
        margin-top: 15px;
    }
}

@media (max-width: 480px) {
    .system-footer {
        font-size: 11px;
        padding: 10px 5px;
    }
}
