:root {
    --selca-azul-oscuro: #0a4275;
    --selca-azul-medio: #1d72b8;
    --selca-azul-claro: #32b5e5;
    --selca-texto-azul: #184c8a;
    --selca-texto-turquesa: #29b8b9;
    --selca-fondo: #ffffff;
}

body {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    background-color: #f8f9fa;
}

.sidebar {
    width: 250px;
    min-height: 100vh;
    background: linear-gradient(180deg, var(--selca-azul-oscuro), var(--selca-azul-medio));
}

.sidebar .nav-link {
    color: #f8f9fa;
    padding: 1rem;
    border-left: 3px solid transparent;
    transition: background-color 0.3s ease, border-left-color 0.3s ease;
}

.sidebar .nav-link:hover {
    background-color: var(--selca-azul-medio); /* --selca-azul-medio */
    border-left-color: var(--selca-azul-claro); /* --selca-azul-claro */
}

.sidebar .nav-link.active {
    background-color: var(--selca-texto-azul); /* --selca-texto-azul */
    border-left-color: var(--selca-azul-claro); /* --selca-azul-claro */
    font-weight: bold;
}

.content {
    flex-grow: 1;
}

/* Styles for Login Page Background */
.login-body {
    background: linear-gradient(45deg, var(--selca-azul-oscuro), var(--selca-azul-medio));
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* Hide overflowing watermarks */
    position: relative; /* Needed for absolute positioning of title */
}

/* Styles for the new login title */
.login-title {
    color: #ffffff; /* Pure white for better contrast */
    font-size: 2.2em; /* Larger for a prominent title */
    font-weight: 700; /* Bolder */
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    margin-bottom: 30px; /* More space below the title */
    text-align: center; /* Center the text */
    width: 100%; /* Ensure it takes full width for centering */
}

.login-container {
    padding: 20px;
    z-index: 1;
    position: relative;
    max-width: 500px; /* Increased width for the card */
    width: 100%;
}

/* Center the button */
.login-container form > div:last-of-type {
    text-align: center;
    margin-top: 1.5rem; /* Add some top margin */
}

.login-container .btn-primary {
    /* Existing styles */
    width: auto; /* Ensure button doesn't stretch */
    min-width: 150px; /* Give it a minimum width */
}

.login-container .card {
    border-radius: 15px; /* More rounded corners */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2); /* More prominent shadow */
    border: none; /* Remove default border */
}

.login-container .card-body {
    padding: 2rem; /* Increase padding inside the card for better spacing */
}

.login-container .card-title {
    margin-bottom: 1.5rem; /* Adjust margin below title */
    font-size: 1.75rem; /* Slightly larger title */
    color: var(--selca-azul-oscuro); /* Use brand color for title */
}

.login-container .form-label {
    font-weight: 500; /* Slightly bolder labels */
}

.login-container .btn-primary {
    padding: 0.75rem 1.5rem; /* Larger button */
    font-size: 1.1rem;
    border-radius: 8px; /* Rounded button */
}

/* Efecto hover para las tarjetas del dashboard */
.card.shadow.h-100.py-2 {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.card.shadow.h-100.py-2:hover {

    transform: translateY(-5px);

    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;

    cursor: pointer;

}



/* Styles for Chatbot Feedback Page */

.feedback-container {

    display: flex;

    flex-direction: column;

    gap: 20px;

}



.feedback-card {

    background-color: #fff;

    border: 1px solid #dee2e6;

    border-radius: 0.375rem;

    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);

}



.feedback-card-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 0.75rem 1.25rem;

    background-color: #f8f9fa;

    border-bottom: 1px solid #dee2e6;

    border-left: 5px solid; /* Color will be set inline */

}



.feedback-rating {

    font-weight: bold;

    font-size: 1.1rem;

}



.feedback-date {

    font-size: 0.9rem;

    color: #6c757d;

}



.feedback-card-body {

    padding: 1.25rem;

}



.transcript-box {

    background-color: #f1f3f5;

    border-radius: 0.25rem;

    padding: 1rem;

    max-height: 300px;

    overflow-y: auto;

    font-family: 'Courier New', Courier, monospace;

    font-size: 0.9rem;

        white-space: pre-wrap; /* Ensures line breaks are respected */

        word-wrap: break-word;

    }

    

    .explanation-text {

        background-color: #fff3cd;

        padding: 0.5rem 1rem;

        border-radius: 0.25rem;

        margin-bottom: 1rem;

            border: 1px solid #ffeeba;

        }

        

        @media print {

            .print-btn, .delete-form {

                display: none !important;

            }

        }

        

    
