body {
    margin: 0;
    padding: 0;
    background: whitesmoke;
    font-family: Arial, sans-serif;
}


body.login-page {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

#login_window {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    width: 350px;
    text-align: center;
}

#login_window h1 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

#login_window input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
}

#btn_login {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background-color: #4e73df;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#btn_login:hover {
    background-color: #2e59d9;
}

#message {
    margin-top: 15px;
    color: black;
    font-size: 14px;
}


#details {
    width: 100%;
    height: 300px;
    overflow-y: auto;
    border: 1px solid #ccc;
    background-color: white;
    padding: 10px;
    border-radius: 8px;
}

.custom-input {
  width: 70px;
  height: 17px;
}


label {
    display: block;
    text-align: left;
    margin: 10px 0 5px;
    font-weight: bold;
    color: #555;
}


.navbar-inverse {
    background-color: #1877F2 !important; 
    border: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.navbar-inverse .navbar-nav > li > a,
.navbar-inverse .navbar-brand {
    color: #fff !important;
    padding: 15px 20px;
    font-size: 15px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.navbar-inverse .navbar-nav > li > a:hover,
.navbar-inverse .navbar-brand:hover {
    background-color: #165dc5 !important;
    color: #e6e6e6 !important;
    border-radius: 6px;
}

.navbar-inverse .dropdown-menu {
    background-color: #fff;
    border-radius: 8px;
    padding: 8px 0;
    box-shadow: 0 4px 12px rgba(66, 139, 222, 0.532);
}

.navbar-inverse .dropdown-menu > li > a {
    color: #333 !important;
    padding: 10px 20px;
    transition: background-color 0.3s ease;
}

.navbar-inverse .dropdown-menu > li > a:hover {
    background-color: #1877F2 !important;
    color: #fff !important;
    border-radius: 6px;
}

.navbar-inverse .navbar-right > li > a {
    font-weight: bold;
    color: #ffdddd !important;
}

.navbar-inverse .navbar-right > li > a:hover {
    background-color: #d9534f !important;
    color: #fff !important;
    border-radius: 2px;
}




body:not(.login-page) #details {
    width: 100%;
    min-height: 200px;
    max-height: 60vh;
    overflow-y: auto;
    border: 1px solid #ccc;
    background-color: white;
    padding: 10px;
    border-radius: 8px;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    body:not(.login-page) #details {
        max-height: 50vh;
        min-height: 150px;
        margin-top: 10px;
    }

    body:not(.login-page) .col-sm-10 {
        width: 100%;
        padding: 0 10px;
    }

    body:not(.login-page) input,
    body:not(.login-page) select,
    body:not(.login-page) button {
        width: 100%;
        margin-bottom: 8px;
    }
}
