: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;
}

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;

}
body{

    margin:0;

    background:#f5f7fb;

    font-family:Arial,Helvetica,sans-serif;

}

.wrapper{

    display:flex;

    min-height:100vh;

}

.sidebar{

    width:250px;

    background:#0d6efd;

    color:white;

    padding:25px;

}

.logo{

    text-align:center;

    margin-bottom:40px;

}

.logo h4{

    margin-top:10px;

    font-size:20px;

}

.sidebar ul{

    list-style:none;

    padding:0;

}

.sidebar li{

    padding:15px;

    margin-bottom:8px;

    border-radius:10px;

    cursor:pointer;

    transition:.3s;

}

.sidebar li:hover{

    background:white;

    color:#0d6efd;

}

.sidebar .active{

    background:white;

    color:#0d6efd;

}

.sidebar i{

    margin-right:10px;

}

.content{

    flex:1;

    padding:30px;

}

header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:30px;

}

.cards{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:20px;

}

.card-box{

    background:white;

    border-radius:12px;

    padding:25px;

    box-shadow:0 0 10px rgba(0,0,0,.08);

}

.card-box h3{

    color:#0d6efd;

    font-size:35px;

}

.table-section{

    background:white;

    margin-top:30px;

    padding:20px;

    border-radius:12px;

    box-shadow:0 0 10px rgba(0,0,0,.08);

}