:root {
    --primary: #2980b9;
    --secondary: #2c3e50;
    --light: #f4f7f6;
    --dark: #333;
    --white: #fff;
    --success: #27ae60;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--light);
    color: var(--dark);
}

/* Navigation Bar */
nav {
    background-color: var(--secondary);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

nav .logo {
    color: var(--white);
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
    color: #3498db;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.8)), url('https://images.unsplash.com/photo-1612815154858-60aa4c59eaa6?q=80&w=1200') center/cover;
    color: var(--white);
    text-align: center;
    padding: 80px 20px;
}

.hero h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 20px;
    font-style: italic;
}

.btn {
    background-color: var(--primary);
    color: var(--white);
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
    transition: background 0.3s;
}

.btn:hover {
    background-color: #2171a3;
}

/* Main Layout Container */
.container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

.container-boxed {
    max-width: 850px;
    margin: 40px auto;
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.flex-container {
    max-width: 900px;
    margin: 40px auto;
    display: flex;
    gap: 30px;
    padding: 0 20px;
}

/* Homepage Features */
.features {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    margin-top: 30px;
}

.card {
    background: var(--white);
    padding: 25px;
    border-radius: 8px;
    flex: 1;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
    border-top: 4px solid var(--primary);
}

.card h3 {
    color: var(--secondary);
    margin-bottom: 10px;
}

/* Tables Styling */
h2 {
    text-align: center;
    color: var(--secondary);
    margin-bottom: 25px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

th,
td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: var(--primary);
    color: white;
    text-transform: uppercase;
    font-size: 14px;
}

tr:hover {
    background-color: #f5f5f5;
}

.category {
    font-weight: bold;
    color: var(--secondary);
}

.price {
    font-weight: bold;
    color: var(--success);
    text-align: right;
}

th:last-child,
td:last-child {
    text-align: right;
}

/* Notice Box */
.note-box {
    background-color: #e8f4f8;
    border-left: 5px solid var(--primary);
    padding: 15px;
    border-radius: 4px;
    font-size: 14px;
}

/* Panels (Contact Page) */
.info-panel,
.form-panel {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    flex: 1;
}

.info-panel p {
    margin: 15px 0;
    font-size: 15px;
    line-height: 1.6;
}

/* Forms Styling */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-family: inherit;
}

.form-group textarea {
    resize: vertical;
    height: 100px;
}

.btn-submit {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    width: 100%;
    transition: background 0.3s;
}

.btn-submit:hover {
    background-color: #2171a3;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background-color: var(--secondary);
    color: var(--white);
    margin-top: 60px;
    font-size: 14px;
}

/* Responsive Layout */
@media (max-width: 768px) {

    .features,
    .flex-container {
        flex-direction: column;
    }
}

/* New Form Specific Adjustments */
.form-split {
    display: flex;
    gap: 15px;
}

.form-split .form-group {
    flex: 1;
}

select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: var(--white);
    font-family: inherit;
}

.auth-container {
    max-width: 450px;
    margin: 60px auto;
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.auth-toggle {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
}

.auth-toggle a {
    color: var(--primary);
    text-decoration: none;
    font-weight: bold;
}

/* Navigation Login Button Enhancement */
nav ul li a[href="login.html"] {
    background-color: var(--primary);
    padding: 6px 12px;
    border-radius: 4px;
    transition: background 0.3s ease;
}

nav ul li a[href="login.html"]:hover {
    background-color: #2171a3;
    color: var(--white);
}
input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
    display: none;
}
/* Logout Button */

.logout-btn{

    background:#296bce;

    color:white !important;

    padding:8px 18px;

    border-radius:8px;

    font-weight:bold;

    transition:.3s;

}

.logout-btn:hover{

    background:#084298;

    color:white !important;

}
/* Hamburger */
.hamburger{
    display:none;
    font-size:30px;
    color:white;
    cursor:pointer;
}

/* Mobile */
@media (max-width:768px){

    nav{
        position:relative;
    }

    .hamburger{
        display:block;
    }

    nav ul{
        display:none;
        position:absolute;
        top:70px;
        left:0;
        width:100%;
        background:#2c3e50;
        flex-direction:column;
        text-align:center;
        padding:20px 0;
        z-index:999;
    }

    nav ul.show{
        display:flex;
    }

    nav ul li{
        margin:15px 0;
    }
}
.nav-right{
    display:flex;
    align-items:center;
    gap:15px;
    margin-left:auto;
}

.notification-btn{
    background:#4a90c2;
    color:#fff;
    padding:10px 18px;
    border:2px solid gold;
    border-radius:8px;
    text-decoration:none;
    font-weight:bold;
}

.notification-btn:hover{
    background:#3b7aa5;
}
.notification-container{
    position:relative;
}

.notification-btn{
    background:#4a90c2;
    color:white !important;
    padding:8px 18px;
    border-radius:8px;
    text-decoration:none;
    font-weight:bold;
    display:flex;
    align-items:center;
    gap:8px;
}

.notification-btn:hover{
    background:#3b7aa5;
}

.notif-count{
    background:red;
    color:white;
    border-radius:50%;
    padding:2px 7px;
    font-size:12px;
}

.notif-dropdown{
    display:none;
    position:absolute;
    top:45px;
    right:0;
    width:320px;
    max-height:350px;
    overflow-y:auto;
    background:white;
    border-radius:10px;
    box-shadow:0 5px 15px rgba(0,0,0,.3);
    padding:15px;
    z-index:9999;
}

.notif-dropdown.show{
    display:block;
}

.notification-item{
    border-bottom:1px solid #ddd;
    padding:10px 0;
}

.notification-item:last-child{
    border:none;
}

.notification-item strong{
    color:#2980b9;
}
.nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    padding: 10px 18px;
    height: 45px;

    background: #2f80ed;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
}

#notifCount {
    width: 20px;
    height: 20px;
    background: red;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
}
.notification{
    position:relative;
}

.notif-dropdown{

    display:none;

    position:absolute;

    top:60px;

    right:0;

    width:320px;

    max-height:350px;

    overflow-y:auto;

    background:#fff;

    border-radius:12px;

    box-shadow:0 10px 30px rgba(0,0,0,.25);

    padding:10px;

    z-index:9999;

}

.notification-dropdown{
    display:none;
}

.notification-dropdown.show{
    display:block;
}