﻿
/* ---------------------------------------------------------LOGIN------------------------------------------------------------ */
.begin-container {
    background: #C7E4FF;
    padding: 30px;
    border: 2px solid #333;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-top: 20%;
    margin-bottom: 20%;
}

.login-background {
    background-image: url(/Content/Images/FondoPH.jpg);
    background-repeat: no-repeat;
}

.login-title {
    font-size: 32px;
}

.form-label-title {
    min-width: 115px;
    max-width: 115px;
    margin-bottom: 0;
    font-weight: bold;
    font-size: 20px;
    text-align: left;
}

/* ---------------------------------------------------------LAYOUT----------------------------------------------------------- */

.layout-container {
    display: flex;
    min-height: 100vh;
}

/* SIDEBAR */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 175px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #F8F8F8;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    z-index: 1001;
    transition: transform 0.3s ease;
}

    .sidebar.hidden {
        transform: translateX(-100%);
    }

.hamburger {
    display: none;
    position: absolute;
    top: 20px;
    left: 25px;
    z-index: 1000;
    background: #00008B;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
}

.image-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 175px;
    height: 90px;
}

.menu-container {
    flex: 1;
    overflow-y: auto;
}

.menu-left {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 165px;
    font-size: 16px;
}

.image-menu-left {
    width: 30px;
    height: 30px;
}

.menu-bottom {
    margin-bottom: 20px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.2);
    flex-shrink: 0;
}

.main-content {
    padding: 1rem;
    background: linear-gradient(135deg, #BDEDFF 0%, #00A2FF 100%);
    margin-left: 175px;
    width: calc(100% - 175px);
    transition: margin-left 0.3s ease-in-out, width 0.3s ease-in-out;
}

    .main-content.expanded {
        margin-left: 0;
        width: 100%;
    }

/* ----------------------------------------------------------MAIN------------------------------------------------------------ */

.main-container {
    margin-right: 40px;
    margin-left: 40px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.main-container-title {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    margin-top: 0px;
}

/* ---------------------------------------------------------HEADER----------------------------------------------------------- */
/* TITLES */
.title-alone {
    margin-top: 15px;
    margin-bottom: 33px;
    margin-left: 0px;
}

.title-menu {
    margin-top: 15px;
    margin-bottom: 15px;
    margin-left: 0px;
}

/* MENU BUTTONS */
.nav-menu {
    overflow-x: scroll;
    overflow-y: unset;
}

.nav-buttons {
    gap: 0.25rem;
    height: 40px;
}

.nav-button {
    padding: 0.75rem 1.5rem;
    font-size: 2rem;
    font-weight: 500;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #000000;
}

    .nav-button:hover {
        color: #ffffff;
        background-color: #174199;
        cursor: pointer;
    }

    .nav-button.active {
        color: #2563eb;
        background-color: #eff6ff;
        pointer-events: none;
    }

    .nav-button:focus {
        outline: none;
    }

/* SEPARATORS */
.separator-menu {
    height: 2px;
    border-width: 0;
    color: black;
    background-color: black;
    margin-top: 0px;
}

/*@media (max-width: 768px) {*/

/* Responsive Design */
@media (max-width: 1124px) {
    .sidebar {
        width: 100%;
        max-width: 175px;
        transform: translateX(-100%);
    }

        .sidebar.visible {
            transform: translateX(0);
        }

    .main-content {
        margin-left: 0;
        width: 100%;
    }

    .hamburger {
        display: block;
    }

    .overlay.visible {
        display: block;
    }

    .title-alone {
        margin-left: 40px;
    }

    .title-menu {
        margin-left: 40px;
    }

    .main-container {
        margin-right: 20px;
        margin-left: 20px;
    }
}

@media (max-width: 480px) {
    .sidebar {
        width: 100%;
    }
}
