﻿/* Inician CssStyles nuevos*/

/* Estilos personalizados para RadMenu institucional */
/* Contenedor principal del menú - sin interferir con funcionalidad Telerik */
.menu-container {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 8px 32px;
    margin: 16px 24px;
    /*width: calc(100% - 48px);*/
    width: 94.38%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Sección del logo y portal */
.menu-logo-section {
    display: flex;
    align-items: center;
    margin-right: 24px;
    flex-shrink: 0;
}

    .menu-logo-section .logo-link {
        display: flex;
        align-items: center;
        text-decoration: none;
        margin-right: 16px;
    }

    .menu-logo-section .logo-image {
        height: 40px;
        width: auto;
        max-width: 120px;
        margin-right: 12px;
        border-radius: 20px;
        transition: all 0.3s ease;
    }

    .menu-logo-section .portal-text {
        font-family: 'Indivisa Text Sans Black', Arial, sans-serif;
        font-size: 16px;
        color: #101097;
        font-weight: bold;
        white-space: nowrap;
    }

/* Contenedor central para el RadMenu */
.menu-options-container {
    display: flex;
    align-items: center;
    flex-grow: 1;
    justify-content: flex-start;
    margin-left: 24px;
}

/* Sección de usuario */
.menu-user-section {
    display: flex;
    align-items: center;
    margin-left: auto;
    flex-shrink: 0;
}

    .menu-user-section .welcome-label {
        font-family: 'Indivisa Text Sans Light', Arial, sans-serif;
        font-size: 13px;
        color: #495057;
        font-weight: bold;
        margin-right: 16px;
        white-space: nowrap;
    }

    .menu-user-section .login-button {
        background: linear-gradient(135deg, #cf152d 0%, #a01123 100%);
        color: white;
        font-family: 'Indivisa Text Sans', Arial, sans-serif;
        font-size: 13px;
        font-weight: 600;
        padding: 8px 16px;
        border: none;
        border-radius: 25px;
        text-decoration: none;
        transition: all 0.3s ease;
        margin-right: 16px;
        box-shadow: 0 3px 8px rgba(207, 21, 45, 0.3);
        cursor: pointer;
        min-width: 80px;
    }

        .menu-user-section .login-button:hover {
            background: linear-gradient(135deg, #101097 0%, #0d0d7a 100%);
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(16, 16, 151, 0.4);
            color: white;
        }

/* Estilos específicos para RadMenu - sin !important para evitar conflictos */
.RadMenu {
    font-family: 'Indivisa Text Sans', Arial, sans-serif;
    background: transparent;
    border: none;
}

    .RadMenu .rmRootGroup {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        position: relative;
        z-index: 2;
    }

    .RadMenu .rmItem {
        background: transparent;
        border: none;
        margin: 0 4px;
        border-radius: 6px;
        transition: all 0.3s ease;
        position: relative;
    }

    .RadMenu .rmLink {
        color: #495057;
        font-family: 'Indivisa Text Sans', Arial, sans-serif;
        font-size: 14px;
        font-weight: 500;
        padding: 12px 20px;
        text-decoration: none;
        border-radius: 6px;
        transition: all 0.3s ease;
        white-space: nowrap;
    }

    /* Estados hover y activo */
    .RadMenu .rmItem:hover {
        background: rgba(207, 21, 45, 0.1);
    }

        .RadMenu .rmItem:hover .rmLink {
            color: #cf152d;
            font-weight: 600;
        }

    .RadMenu .rmItem.rmSelected {
        background: #cf152d;
        box-shadow: 0 2px 8px rgba(207, 21, 45, 0.3);
    }

        .RadMenu .rmItem.rmSelected .rmLink {
            color: white;
            font-family: 'Indivisa Text Sans Black', Arial, sans-serif;
        }

    /* Separadores */
    .RadMenu .rmSeparator {
        background: none;
        border: none;
        width: 1px;
        height: 20px;
        margin: 0px 15px;
        background: linear-gradient(to bottom, transparent, #6c757d, transparent);
        opacity: 0.3;
    }

    /* Submenús */
    .RadMenu .rmGroup {
        background: white;
        border: none;
        border-radius: 8px;
        box-shadow: 0 8px 25px rgba(0,0,0,0.15);
        padding: 8px 0;
        margin-top: 8px;
        min-width: 200px;
        z-index: 9999;
        position: absolute;
    }

        .RadMenu .rmGroup .rmItem {
            margin: 2px 8px;
            border-radius: 6px;
            transition: all 0.2s ease;
        }

        .RadMenu .rmGroup .rmLink {
            color: #495057;
            font-family: 'Indivisa Text Sans Light', Arial, sans-serif;
            font-size: 13px;
            padding: 10px 16px;
            border-radius: 6px;
            transition: all 0.2s ease;
        }

        .RadMenu .rmGroup .rmItem:hover {
            background: rgba(16, 16, 151, 0.1);
        }

            .RadMenu .rmGroup .rmItem:hover .rmLink {
                color: #101097;
                font-weight: 500;
                padding-left: 20px;
            }

    /* Flecha de submenú */
    .RadMenu .rmExpandDown {
        background: none;
        border: none;
        width: 0;
        height: 0;
        border-left: 4px solid transparent;
        border-right: 4px solid transparent;
        border-top: 4px solid #6c757d;
        margin-left: 8px;
        transition: all 0.3s ease;
    }

    .RadMenu .rmItem:hover .rmExpandDown {
        border-top-color: #cf152d;
    }


/* ============================================
   ALERT NOTIFICATION STYLES
   For displaying important notices and warnings
   ============================================ */

/* Important Alert - Main Style */
.alert-important {
    display: block !important;
    padding: 16px 20px 16px 60px !important;
    background: linear-gradient(135deg, #cf152d 0%, #a01123 100%) !important;
    border: 3px solid #101097 !important;
    border-radius: 12px !important;
    color: white !important;
    font-family: "Indivisa Text Sans", "Segoe UI", sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    box-shadow: 0 4px 12px rgba(207, 21, 45, 0.4) !important;
    margin: 20px 0 !important;
    animation: pulse-alert 2s ease-in-out infinite !important;
    position: relative !important;
    text-align: left !important;
}

    /* Alert Icon */
    .alert-important::before {
        content: "⚠" !important;
        position: absolute !important;
        left: 20px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        font-size: 28px !important;
        font-weight: bold !important;
        color: #fff !important;
        animation: shake-icon 0.5s ease-in-out infinite !important;
    }

/* Pulse Animation */
@keyframes pulse-alert {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(207, 21, 45, 0.4);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 6px 20px rgba(207, 21, 45, 0.6);
        transform: scale(1.02);
    }
}

/* Icon Shake Animation */
@keyframes shake-icon {
    0%, 100% {
        transform: translateY(-50%) rotate(0deg);
    }

    25% {
        transform: translateY(-50%) rotate(-15deg);
    }

    75% {
        transform: translateY(-50%) rotate(15deg);
    }
}

/* Alert Variants */
.alert-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    border-color: #101097 !important;
}

    .alert-warning::before {
        content: "⚠" !important;
    }

.alert-info {
    background: linear-gradient(135deg, #101097 0%, #0d0d7a 100%) !important;
    border-color: #cf152d !important;
}

    .alert-info::before {
        content: "ℹ" !important;
    }

.alert-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    border-color: #101097 !important;
}

    .alert-success::before {
        content: "✓" !important;
    }

/* Responsive Alert */
@media (max-width: 768px) {
    .alert-important {
        font-size: 14px !important;
        padding: 14px 16px 14px 50px !important;
    }

        .alert-important::before {
            font-size: 24px !important;
            left: 16px !important;
        }
}



.footer-container {
    background: #0c1661;
    color: white;
    padding: 32px 24px 16px 24px;
    border-radius: 12px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    position: relative;
    margin: 12px 18px;
    overflow: hidden;
}

    .footer-container::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 6px;
        height: 100%;
        /* background: linear-gradient(to bottom, #cf152d 0%, #a01123 100%);*/
    }

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 32px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 24px;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    .footer-info .university-name {
        font-family: 'Indivisa Text Sans Black', Arial, sans-serif;
        font-size: 18px;
        color: white;
        margin-bottom: 8px;
    }

    .footer-info .address-line {
        font-family: 'Indivisa Text Sans Light', Arial, sans-serif;
        font-size: 14px;
        color: rgba(255, 255, 255, 0.9);
        line-height: 1.4;
    }

.footer-social {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

    .footer-social .social-networks {
        font-family: 'Indivisa Text Sans', Arial, sans-serif;
        font-size: 14px;
        color: rgba(255, 255, 255, 0.9);
    }

    .footer-social .phone-number {
        font-family: 'Indivisa Text Sans', Arial, sans-serif;
        font-size: 14px;
        color: white;
        font-weight: 600;
    }

/* Enlaces útiles del footer */
.footer-links {
    /*            background: rgba(255, 255, 255, 0.05);
*/ border-radius: 8px;
    padding: 20px;
    margin: 24px 0 16px 0;
    backdrop-filter: blur(10px);
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    justify-items: center;
}

.footer-link-button {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-family: 'Indivisa Text Sans', Arial, sans-serif;
    font-size: 13px;
    font-weight: 500;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 160px;
    display: block;
}

    .footer-link-button:hover {
        background: rgba(207, 21, 45, 0.8);
        border-color: #cf152d;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(207, 21, 45, 0.3);
        color: white;
    }

/* Copyright */
.footer-copyright {
    text-align: center;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 16px;
}

    .footer-copyright .copyright-text {
        font-family: 'Indivisa Text Sans Light', Arial, sans-serif;
        font-size: 12px;
        color: rgba(255, 255, 255, 0.7);
    }

    .footer-copyright .privacy-link {
        color: rgba(255, 255, 255, 0.9);
        text-decoration: none;
        margin-left: 8px;
        transition: color 0.3s ease;
    }

        .footer-copyright .privacy-link:hover {
            color: #cf152d;
        }

.useful-links {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-family: 'Indivisa Text Sans', Arial, sans-serif;
    font-size: 13px;
    font-weight: 500;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 160px;
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .menu-container {
        padding: 4px 16px;
        margin: 8px 12px;
        width: calc(100% - 24px);
        flex-direction: column;
        align-items: flex-start;
    }

    .menu-logo-section {
        margin-bottom: 8px;
        margin-right: 0;
    }

    .menu-options-container {
        margin-left: 0;
        margin-bottom: 8px;
    }

    .menu-user-section {
        margin-left: 0;
        align-self: flex-end;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }

    .footer-social {
        align-items: center;
    }

    .footer-links-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}


/* windows styles */

.window-container {
    padding: 25px 25px;
    margin-top: 10px;
    font-family: "Indivisa Text Sans", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 2px solid #101097;
    border-radius: 12px;
}

.header-section {
    text-align: center;
    margin-bottom: 25px;
}

.directions-message {
    font-size: 18px;
    font-weight: 600;
    font-family: "Indivisa Text Sans Black", "Segoe UI", sans-serif;
    color: #101097;
    margin-bottom: 8px;
    line-height: 1.4;
}

.subtitle {
    font-size: 14px;
    font-family: "Indivisa Text Sans Light", "Segoe UI", sans-serif;
    color: #64748b;
    margin-top: 5px;
}

.window-buttons-section {
    text-align: center;
    padding-top: 15px;
}

/* Accept button styles */
.accept-button {
    background: linear-gradient(135deg, #101097 0%, #0d0d7a 100%);
    color: white;
    border: 2px solid #cf152d;
    border-radius: 25px;
    padding: 12px 30px;
    font-size: 14px;
    font-weight: 600;
    font-family: "Indivisa Text Sans", "Segoe UI", sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(16, 16, 151, 0.3);
    min-width: 200px;
}

    .accept-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 15px rgba(16, 16, 151, 0.4);
        background: linear-gradient(135deg, #cf152d 0%, #a01123 100%);
        border-color: #101097;
    }

    .accept-button:active {
        transform: translateY(0);
    }

.logout-button {
    background: linear-gradient(135deg, #cf152d 0%, #a01123 100%) !important;
    color: white !important;
    border: 2px solid #101097 !important;
    border-radius: 25px !important;
    padding: 12px 30px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    font-family: "Indivisa Text Sans", "Segoe UI", sans-serif !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 6px -1px rgba(207, 21, 45, 0.3) !important;
    min-width: 200px !important;
}

    .logout-button:hover {
        transform: translateY(-2px) !important;
        box-shadow: 0 8px 15px rgba(207, 21, 45, 0.4) !important;
        background: linear-gradient(135deg, #101097 0%, #0a0c6b 100%) !important;
        border-color: #cf152d !important;
    }

    .logout-button:active {
        transform: translateY(0) !important;
    }

.divider {
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #101097 20%, #cf152d 50%, #101097 80%, transparent 100%);
    margin: 20px 0;
    border-radius: 1px;
}

/* Added institutional RadWindow title bar styling */
.RadWindow .rwTitlebar {
    background: linear-gradient(135deg, #101097 0%, #0a0c6b 100%);
    border-bottom: 2px solid #cf152d;
    color: white;
    font-family: "Indivisa Text Sans Black", "Segoe UI", sans-serif !important;
}

.RadWindow .rwIcon {
    background-color: #cf152d !important;
    border-radius: 3px !important;
}

.RadWindow .rwTable {
    border: 2px solid #101097 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
}



@media (max-width: 480px) {
    .logout-container {
        padding: 20px 15px;
    }

    .rating-buttons {
        gap: 10px;
    }

    .rating-button {
        width: 70px !important;
        height: 70px !important;
    }

    .thank-you-message {
        font-size: 16px;
    }

    .logout-button {
        min-width: 180px !important;
        padding: 10px 25px !important;
    }
}
