/* main styling */
@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins';
}

:root {
    --royal-blue: #4169E1;
    --dark-blue: #1113A2;
    --light-blue: #60a5fa;
    --border-radius: 10px;
    --input-padding: 12px 16px;
    --button-padding: 10px;
}
/* color */
.text-main-color{
    color: #1113A2;
} 
.bg-main-color{
    background-color: #1113A2;
} 

body{
    background:#f5f7fa;
}
/* -------------- HEADER --------------- */
/* Top Date/Time Bar */
.sticky-header{
    position: sticky;
    top: 0;
    z-index: 1050;
}

.top-bar {
    background: #f8f9fa;
    padding: 0px;
    border-bottom: 1px solid #dee2e6;
}
.datetime-display {
    text-align: right;
    font-size: 14px;
    color: #495057;
    font-weight: 500;
}


.navbar{
    background: linear-gradient(
        105deg,
        #05075E 0%,
        #1113A2 58%,
        #274cb9 100%
    );
    box-shadow:0 4px 12px rgba(0,0,0,0.15);
}
.navbar-brand{
    color:white !important;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 20px;
}
.nav-link {
    color: rgba(255,255,255,0.9) !important;
    font-weight: 500;
    transition: all 0.3s;
    margin-left: 10px;
}
.profile-link i{
    font-size: 1.5rem;
}
.navbar .dropdown-item{
    font-size: 1rem;
    padding: 10px 20px;
}
.dropdown-menu{
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    display: block;
    margin-top: 0;
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
    pointer-events: none;
}
.dropdown-menu.show{
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.logo {
    width: 45px;
    height: 45px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #1e3c72;
}
.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


/* Header --- For Mobile */
.offcanvas
{
    background: linear-gradient(
    105deg,
    #05075E 5%,
    #1113A2 28%,
    #274cb9 100%
    );
    top:18px;
    z-index:1100;
    box-shadow:0 4px 12px rgba(0,0,0,0.15);
    color: white !important;
}

/* -------------- FOOTER --------------- */
footer{
    background: linear-gradient(
        105deg,
        #05075E 0%,
        #1113A2 58%,
        #274cb9 100%
    );
    color:white;
    padding: 0 0;
}

footer p {
    margin: 0;
    opacity: 0.9;
}