* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary-color: #005792;
    --secondary-color: #00bbf0;
    --accent-color: #fdb44b;
    --dark-color: #333;
    --light-color: #f4f9ff;
    --text-color: #444;
    --shadow: 0 4px 12px rgba(0,0,0,0.1);
}

body {
    background-color: #f0f5ff;
    color: var(--text-color);
    position: relative;
}

 
.header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 0rem 1.3rem;  
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    position: fixed;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.header, .logo h1{
    color: white;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 40px;
}

.logo a {
  color: white;            
  text-decoration: none;  
}

.logo a:visited {
  color: white;           
}

.logo a:hover {
  color: #e0e0e0;       
}

.logo h1 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
}
/* Sidebar */
.sidebar {
    position: fixed;
    left: -280px;
    top: 0;
    height: 100%;
    width: 280px;
    background-color: white;
    display: flex;
    flex-direction: column;
    padding-top: 70px;
    transition: left 0.3s ease;
    z-index: 990;
    box-shadow: var(--shadow);
}

.sidebar.active {
    left: 0;
}

.sidebar-header {
    color: var(--primary-color);
    font-size: 24px;
    margin: 15px 0;
    text-align: center;
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
}

.sidebar a {
    color: var(--dark-color);
    text-decoration: none;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    border-left: 4px solid transparent;
}

.sidebar a:hover, .sidebar a.active {
    background-color: rgba(0, 87, 146, 0.1);
    border-left: 4px solid var(--primary-color);
    color: var(--primary-color);
}

.sidebar a i {
    width: 24px;
    text-align: center;
}

.toggle-btn {
    background-color: transparent;
    color: white;
    border: none;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1100;
    padding: 10px;
    margin-right: 10px;
}
 
.main-content {
    padding: 90px 20px 40px;
    transition: margin-left 0.3s ease;
    min-height: 100vh;
}

@media (min-width: 993px) {
    .sidebar.active ~ .main-content {
        margin-left: 280px;
    }
}
 
h1 {
    text-align: center;
    color: var(--primary-color);
    margin: 20px 0;
}

form {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

label {
    font-size: 16px;
    margin-bottom: 5px;
    display: block;
}

input, select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button.submit-btn {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: block;
    margin: 0 auto;
}

button.submit-btn:hover {
    background-color: var(--accent-color);
}

#confirmation {
    display: none;
    margin-top: 20px;
}

#confirmation.show {
    display: block;
}

.hidden {
    display: none;
}

/* Media Queries for Responsiveness */
@media (max-width: 992px) {
    .sidebar.active ~ .main-content {
        margin-left: 0;
    }
    
    .sidebar.active {
        left: 0;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 0.8rem 1rem;
    }
    
    .logo h1 {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .main-content {
        padding: 70px 15px 30px;
    }
}