﻿@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');


*:not(.fa):not(.fas):not(.far),
*:not(.fa):not(.fas):not(.far)::before,
*:not(.fa):not(.fas):not(.far)::after {
    font-family: 'Poppins', sans-serif !important;
    -webkit-font-smoothing: antialiased;
}


body {
    background-color: #f4f7fb;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: 'Poppins', sans-serif;
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
    
}
#sidebar {
    position: fixed; 
    top: 100px; 
    left: 0;
    height: calc(100vh - 100px); 
    background-color: #000080; 
    padding: 20px;
    width: 260px;
    height:600px;
    border-radius: 15px; 
    z-index: 1000; 
    overflow-y: auto; 
}

   
    #sidebar ul {
        padding: 0;
        list-style: none;
    }

        #sidebar ul li {
            margin: 10px 0;
        }

            #sidebar ul li a {
                display: block;
                color: #ffffff;
                text-decoration: none;
                font-size: 16px;
                padding: 10px 15px;
                border-radius: 8px;
            }

                #sidebar ul li a:hover {
                    background-color: #0056b3;
                    transition: background-color 0.3s ease;
                }


.card {
   
    background-color: #ffffff;
    border-radius: 15px; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    
}

    .card h2 {
        color: #000080;
        font-size: 16px;
        font-weight: bold;
        font-size: 22px;
        margin-bottom: 20px;
        margin-top: 10px;
    }

select {
    width: 100%; 
    min-height: 40px; 
    margin-bottom: 20px; 
    font-size: 18px; 
}


select[size] {
    min-height: 150px; 
}
h2.text-center {
    text-align: center;
    margin-top: 20px; 
    font-size: 24px;
    color: #000080;
    font-weight: bold;
    padding-left:0px;
    
}


.col-md-9 {
    margin:0px 0px 0px 280px; 
    padding:0px 0px 0px 0px;
}
.row
{
    margin:0px 0px 0px 0px;
}

@media (max-width: 768px) {
    #sidebar {
        position: relative;
        width: 100%;
        height: auto;
        padding-top: 20px;
    }

    .col-md-9 {
        margin-left: 0;
        margin-top: 0px;
    }

    .card {
        width: 100%;
        height: auto; 
        max-width: 100%;
    }
}


.row {
    margin: 0;
    padding: 0;
}

.container-fluid {
    padding-left: 0;
    padding-right: 0;
}

body {
    margin: 0;
    padding: 0;
    
}
@media (max-width: 768px) {
    body {
        font-size: 14px; 
    }
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
h1{
    margin-top: 20px;
    font-size:24px;
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: #f4f7fb;
    color: #333;
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    
}

.container {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}


.login-card {
    background-color: #ffffff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    border-radius: 18px;
    padding: 25px;
    border: 1px solid #ddd;
    max-width: 400px; 
    margin: 20px auto;
    
}


.navbar {
    position: sticky;
    top: 0;
    backdrop-filter: blur(6px);
    background-color: rgba(255, 255, 255, 0.8); 
    z-index: 999;
  }
  

.navbar-brand img {
    width: 70px;
    height: auto;
}
/* 
.university-title {
    color: #003399 !important;
    font-size: 24px;
    font-weight: bolder;
    text-align: center;
} */

.navbar-brand {
    margin-right: 12px;
}



.navbar-nav .nav-link {
    color: #003399 !important;
    font-size: 16px;
    text-decoration: none;
    padding: 10px 15px 5px 15px;
    position: relative; 
}

    .navbar-nav .nav-link::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px; 
        bottom: 0; 
        left: 0;
        background-color: #003399; 
        transition: width 0.4s ease; 
    }

    .navbar-nav .nav-link:hover::after {
        width: 100%; 
    }

.ms-auto {
    margin-left: auto !important;
}

.navbar-collapse {
    justify-content: flex-end;
}

.navbar-nav {
    display: flex;
    gap: 15px;
}

.nav-item {
    list-style: none;
}


.login-page {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70vh;
}

.login-container {
    max-width: 400px;
    margin: 20px auto;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    border-radius: 18px;
    padding: 25px;
    border-radius: 15px;
    border: 1px solid #e5e5e5;
}

.login-title {
    font-size: 24px;
    color: #003399;
    margin-bottom: 20px;
    text-align: center;
    font-weight: bold;font-family: 'Poppins', 'Open Sans', sans-serif;
    line-height: 1.6;
}




.btn-login {
    background-color: #003399;
    color: #fff;
    padding: 10px;
    border: none;
    border-radius: 15px;
    font-size: 18px;
    width: 100%;
}

    .btn-login:hover {
        background-color: #000060;
    }




@media (max-width: 576px) {
    .login-container {
        padding: 20px;
    }

    .login-title {
        font-size: 20px;
    }

    .btn-login {
        font-size: 16px;
    }
}


.footer {
    background-color: #f8f9fa;
    padding: 20px 0;
    text-align: center;
    color: #003399;
    border-top: 1px solid #e5e5e5;
    width: 100%;
    position: relative;
    bottom: 0;
    left: 0;
}

    .footer a {
        color: #003399 !important;
        text-decoration: none;
    }

        .footer a:hover {
            text-decoration: underline;
        }


#formContainer {
    width: 100%; 
    max-width: 100%; 
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08); 
    border-radius: 18px;
    padding: 25px;
    border: 1px solid #ddd; 
    margin: 20px auto; 
}

    
    #formContainer h2 {
        font-size: 20px;
        color: #003399; 
        font-weight: bold;
        text-align: center; 
    }
.card {
    background-color: #ffffff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08); 
    border-radius: 18px;
    padding: 25px;
    margin-bottom: 20px;
    width: 100%;
    border: 1px solid #ddd;
}

.card-title {
    font-size: 18px;
    font-weight: bold;
    color: #003399;
    margin-bottom: 15px;
}

.form-control, .form-select {
    font-size: 14px;
    padding: 8px;
    border-radius: 8px;
    border: 1px solid #ddd;
}


.btn-primary {
    background-color: #003399 !important;
    color: #fff !important;
    border: none;
    border-radius: 8px;
    padding: 10px;
    font-size: 16px;
    width: 100%;
}

    .btn-primary:hover {
        background-color: #000060;
    }


.card {
    padding: 20px;
}


#paymentFields {
    margin-top: 20px;
}

    #paymentFields h4 {
        font-size: 18px;
        font-weight: bold;
        margin-bottom: 15px;
    }


@media (max-width: 768px) {
    .card {
        margin-bottom: 20px;
    }

    .form-card {
        padding: 20px;
    }

    .btn-primary {
        font-size: 14px;
        padding: 8px;
    }
}

.table-navy-blue th {
    background-color: #003399;
    color: white;
}


h2.text-primary {
    color: #003399 !important;
}


.btn {
    margin-bottom: 10px;
}


@media (max-width: 768px) {
    table {
        font-size: 14px;
    }

    
    .btn {
        margin-bottom: 10px;
    }

    th, td {
        padding: 10px;
        text-align: center;
    }
}


@media (max-width: 576px) {
    th, td {
        font-size: 12px;
        padding: 8px;
    }

    h2.text-primary {
        font-size: 22px;
    }
}
.dark-toggle-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
    background-color: #003399;
    color: white;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 18px;
    line-height: 36px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.dark-toggle-btn:hover {
    background-color: #001f66;
    transform: scale(1.1);
}


body.dark-mode {
    background-color: #1e1e2f;
    color: #f1f1f1;
    transition: background-color 0.3s ease, color 0.3s ease;
}


body.dark-mode {
    background-color: #1e1e2f;
    color: #f1f1f1;
}

body.dark-mode .card,
body.dark-mode .login-container,
body.dark-mode .login-card,
body.dark-mode .table,
body.dark-mode .table-striped tbody tr {
    background-color: #2b2b3d !important;
    color: #f1f1f1 !important;
    border-color: #444 !important;
}


body.dark-mode th {
    background-color: #111827;
    color: #f1f1f1;
    border-color: #333;
}


body.dark-mode td {
    background-color: #2b2b3d;
    color: #f1f1f1;
    border-color: #333;
}


body.dark-mode .btn-primary {
    background-color: #0066cc !important;
    color: #fff !important;
    border: none;
}

body.dark-mode .btn-primary:hover {
    background-color: #0088ff !important;
}

body.dark-mode .btn-danger {
    background-color: #cc2b2b !important;
    color: #fff !important;
    border: none;
}

body.dark-mode .btn-danger:hover {
    background-color: #e74c3c !important;
}


body.dark-mode .navbar {
    background-color: #121a2f !important;
    border-bottom: 1px solid #333;
}

body.dark-mode .navbar-nav .nav-link {
    color: #f1f1f1 !important;
}

body.dark-mode .navbar-nav .nav-link:hover::after {
    background-color: #00bfff !important;
}


body.dark-mode .footer {
    background-color: #121a2f;
    color: #ccc;
    border-top: 1px solid #444;
}

body.dark-mode .footer a {
    color: #00bfff !important;
}


body.dark-mode .form-control,
body.dark-mode .form-select,
body.dark-mode input,
body.dark-mode select,
body.dark-mode textarea {
    background-color: #2b2b3d;
    color: #f1f1f1;
    border-color: #555;
}

body.dark-mode .form-control::placeholder {
    color: #aaa;
}


body.dark-mode label,
body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode .login-title {
    color: #f1f1f1 !important;
}

body.dark-mode .dark-toggle-btn {
    background-color: #00bfff;
    color: #000;
}
body.dark-mode .account-settings-container {
    background-color: #1e1e2f !important;
    color: #f1f1f1 !important;
}


body.dark-mode .card-body.p-0 {
    background-color: #2b2b3d !important;
    color: #f1f1f1 !important;
}

.card, .navbar, .form-control, .form-select, .footer, .btn, .login-container {
    transition: background-color 0.3s ease, color 0.3s ease;
}



.input-group > .form-control,
.input-group > .input-group-text {
  font-size: 14px;       
  line-height: 1.4;     
  padding: 12px 16px;   
  border: 1px solid #ddd;
  box-sizing: border-box; 
}


.input-group > .form-control {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-left: none;
}

.input-group > .input-group-text {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}


.input-group-text i {
  font-size: 14px; 
  line-height: 1;   
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
  }
  
  @keyframes fadeIn {
    0% {
      opacity: 0;
      transform: translateY(10px); 
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }
  


h4.font-weight-bold.py-3.mb-4 {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}


.container-p-y {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}


.card, .card-body {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

 
.container.light-style.flex-grow-1 {
   
    margin-top: 40px;
    margin-bottom: 40px;
    max-width: 900px; 
}

.container.light-style.flex-grow-1 .card.overflow-hidden {
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    padding: 20px;
    border: 1px solid #ddd;
}

.container.light-style.flex-grow-1 h4 {
    font-size: 22px;
    font-weight: bold;
    color: #003399;
    margin-bottom: 20px;
    margin-top: 0; 
}

.account-settings-links .list-group-item {
    background-color: transparent;
    color: #003399;
    font-size: 16px;
    padding: 15px 20px;
    border: none;
    transition: background-color 0.3s ease;
    border-radius: 0; 
}


.account-settings-links .list-group-item:hover {
    background-color: #e5e9f2;
    color: #003399;
}


.account-settings-links .list-group-item.active {
    background-color: #003399;
    color: #fff;
    font-weight: bold;
}


.tab-content .card-body {
    background-color: #fff;
    border-radius: 0 0 15px 15px; 
    padding: 20px;
    border-top: 1px solid #eee;  
}


.tab-content .card-body .form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.tab-content .card-body .form-control {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 14px;
    margin-bottom: 15px;
}


.text-right {
    text-align: right;
    margin-top: 20px;
}

.text-right .btn-primary {
    background-color: #003399;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 16px;
    margin-right: 10px;
}

.text-right .btn-primary:hover {
    background-color: #000060;
}

.text-right .btn-default {
    background-color: #ccc;
    color: #333;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
}

.text-right .btn-default:hover {
    background-color: #bbb;
}

.account-settings-container {
    
    padding: 20px;
    min-height: calc(100vh - 100px);
    background-color: #f4f7fb;
}


.account-settings-container .col-md-9 {
    margin: 0;
    padding: 0;
}

.navbar .container-fluid,
.navbar .navbar-header {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 4px !important;   
    min-height: 56px;      
    padding: 0 10px;      
}
.navbar-brand {
    display: flex !important;
    align-items: center !important;
    gap: 7px !important;
    margin-right: 0 !important;
    min-width: 0 !important;
    flex-shrink: 1 !important;
}

.navbar-brand img {
    height: 70px !important;
    width: auto !important;
    margin-right: 0 !important;
}


.navbar-toggler {
    margin-left: auto;
    padding: 6px 9px;      
}


.university-title {
    color: #003399 !important;
    font-size: 18px; 
    font-weight: bolder;
    text-align: left;
    white-space: nowrap;      
    overflow: visible !important;        
    text-overflow: unset !important;     
    word-break: break-word;              
    line-height: 1.2;
    margin: 0;                         
    padding: 0 4px;                   
    max-width: 170px;                  
    display: block;                
}

@media (max-width: 768px) {
     .university-title {
    font-size: 13px;
    max-width: 120px;       
    white-space: normal !important;   
    overflow: visible !important;
    text-overflow: unset !important;
    word-break: break-word;
    line-height: 1.15;
    margin: 0;
    padding: 0 2px;
  }
    .navbar .container-fluid {
        padding: 0 6px !important;
        min-height: 48px;
        gap: 2px !important;
    }
    .navbar-brand img {
        height: 38px !important;
        margin-right: 2px;
    }
    .navbar-toggler {
        padding: 5px 8px;
    }
}

.list-group-item.disabled {
  background: #eee;
  color: #888;
  cursor: not-allowed;
}


#professorList, 
#universityYearList {
    min-height: 120px;   
    max-height: 200px;   
    overflow-y: auto;    
    width: 100%;         
    border: 1px solid #ddd; 
    background: #fff;
    transition: none;   
}
#professorList li,
#universityYearList li {
    padding: 10px 16px;
    font-size: 16px;
    cursor: pointer;
}


#professorList,
#universityYearList {
    height: 150px;    
    min-height: unset;
    max-height: unset;
}

#universityYearList li,
#professorList li,
#disciplineList li {
    padding: 10px 16px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f5;
    font-size: 16px;
    transition: background 0.2s, color 0.2s;
}

#universityYearList li:last-child,
#professorList li:last-child,
#disciplineList li:last-child {
    border-bottom: none;
}


#universityYearList li:hover,
#professorList li:hover,
#disciplineList li:hover {
    background: #e5e9f2;
    color: #003399;
}


#universityYearList li.active,
#professorList li.active,
#disciplineList li.active {
    background: #003399;
    color: #fff;
    font-weight: 500;
}

body.dark-mode #disciplineList,
body.dark-mode #professorList,
body.dark-mode #universityYearList {
    background: #23233a !important;   
    color: #e0e6f6 !important;        
    border-color: #393960 !important; 
    box-shadow: none;
}

body.dark-mode #disciplineList li,
body.dark-mode #professorList li,
body.dark-mode #universityYearList li {
    border-bottom: 1px solid #393960;
    color: #e0e6f6;
    background: transparent;
    transition: background 0.2s, color 0.2s;
}

body.dark-mode #disciplineList li:last-child,
body.dark-mode #professorList li:last-child,
body.dark-mode #universityYearList li:last-child {
    border-bottom: none;
}


body.dark-mode #disciplineList li:hover,
body.dark-mode #professorList li:hover,
body.dark-mode #universityYearList li:hover {
    background: #283055 !important;
    color: #00bfff !important;
}


body.dark-mode #disciplineList li.active,
body.dark-mode #professorList li.active,
body.dark-mode #universityYearList li.active {
    background: #003399 !important;
    color: #fff !important;
    font-weight: 600;
    box-shadow: 0 1px 8px 0 rgba(0,0,30,0.06);
}


body.dark-mode #disciplineList,
body.dark-mode #professorList,
body.dark-mode #universityYearList {
    scrollbar-width: thin;
    scrollbar-color: #003399 #23233a;
}
body.dark-mode #disciplineList::-webkit-scrollbar,
body.dark-mode #professorList::-webkit-scrollbar,
body.dark-mode #universityYearList::-webkit-scrollbar {
    width: 8px;
    background: #23233a;
}
body.dark-mode #disciplineList::-webkit-scrollbar-thumb,
body.dark-mode #professorList::-webkit-scrollbar-thumb,
body.dark-mode #universityYearList::-webkit-scrollbar-thumb {
    background: #003399;
    border-radius: 8px;
}


#disciplineList,
#professorList,
#universityYearList {
    height: 150px;
    min-height: unset;
    max-height: unset;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    background: #fff;
    margin-bottom: 10px;
    padding: 0;
    width: 100%;
    overflow-y: auto;
    transition: none;
    display: block;
}

#disciplineList .list-group-item,
#professorList .list-group-item,
#universityYearList .list-group-item {
    padding-top: 6px;
    padding-bottom: 6px;
    padding-left: 12px;
    padding-right: 12px;
    font-size: 14px;
    line-height: 1.2;
    border: none;
    margin: 0;
}

#disciplineList .list-group-item.active,
#disciplineList .list-group-item:active,
#professorList .list-group-item.active,
#professorList .list-group-item:active,
#universityYearList .list-group-item.active,
#universityYearList .list-group-item:active {
    background: #003399;
    color: #fff;
    font-weight: 400;
}
