/* Design Variation 1: Modern Clean Aesthetic */
/* Color Palette: Navy Blue (#000080), Light Blue (#87CEEB), White (#FFFFFF) */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f8fcff 0%, #e6f3ff 100%);
    color: #2c3e50;
    line-height: 1.6;
    min-height: 100vh;
}

/* Navbar */
.navbar {
    background: linear-gradient(135deg, #000080 0%, #000040 100%);
    border-bottom: 3px solid #87CEEB;
    padding: 20px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 128, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: white;
}

.navbar-logo img {
    height: 45px;
    width: auto;
    filter: brightness(1.1);
}

.navbar-logo h1 {
    font-size: 26px;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: all 0.3s;
    padding: 10px 18px;
    border-radius: 8px;
    position: relative;
}

.nav-link:hover {
    background: rgba(135, 206, 235, 0.2);
    transform: translateY(-1px);
}

.nav-link.active {
    background: rgba(135, 206, 235, 0.3);
    box-shadow: 0 2px 8px rgba(135, 206, 235, 0.3);
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-info {
    color: #e6f3ff;
    font-size: 14px;
    font-weight: 500;
}

.btn-logout {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-logout:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}

/* Page Headers */
.page-header {
    background: white;
    border: 3px solid #000080;
    border-radius: 20px;
    padding: 35px;
    margin-bottom: 35px;
    box-shadow: 0 15px 40px rgba(0, 0, 128, 0.15);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #000080, #87CEEB);
}

.page-header h1 {
    color: #000080;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
}

.page-header p {
    color: #5a6c7d;
    font-size: 16px;
    margin: 0;
}

/* Login Form */
.login-form {
    background: white;
    border: 3px solid #000080;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 128, 0.15);
    padding: 50px;
    max-width: 450px;
    margin: 60px auto;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.login-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #000080, #87CEEB);
}

.login-form h2 {
    color: #000080;
    margin-bottom: 35px;
    font-size: 32px;
    font-weight: 700;
}

.form-group {
    margin-bottom: 25px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: #2c3e50;
    font-weight: 600;
    font-size: 16px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 18px;
    border: 2px solid #e1f0fa;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s;
    background: #f8fcff;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #000080;
    background: white;
    box-shadow: 0 0 0 3px rgba(0, 0, 128, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #000080 0%, #000040 100%);
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 128, 0.3);
    display: inline-block;
    text-align: center;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #000040 0%, #000020 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 128, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(108, 117, 125, 0.3);
    display: inline-block;
    text-align: center;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #5a6268 0%, #495057 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.4);
}

.btn-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(40, 167, 69, 0.3);
    display: inline-block;
    text-align: center;
}

.btn-success:hover {
    background: linear-gradient(135deg, #20c997 0%, #17a2b8 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
}

.btn-danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(220, 53, 69, 0.3);
    display: inline-block;
    text-align: center;
}

.btn-danger:hover {
    background: linear-gradient(135deg, #c82333 0%, #bd2130 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.4);
}

.btn-warning {
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
    color: #212529;
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(255, 193, 7, 0.3);
    display: inline-block;
    text-align: center;
}

.btn-warning:hover {
    background: linear-gradient(135deg, #e0a800 0%, #d39e00 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 12px;
    border-radius: 8px;
}

.btn-lg {
    padding: 18px 36px;
    font-size: 18px;
    border-radius: 14px;
}

/* Dashboard Header */
.dashboard-header {
    background: white;
    border: 3px solid #000080;
    border-radius: 20px;
    padding: 35px;
    margin-bottom: 35px;
    box-shadow: 0 15px 40px rgba(0, 0, 128, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.dashboard-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #000080, #87CEEB);
}

.dashboard-header h1 {
    color: #000080;
    font-size: 36px;
    font-weight: 700;
}

/* Statistics Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 35px;
}

.stat-card {
    background: white;
    border: 3px solid #000080;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 15px 40px rgba(0, 0, 128, 0.15);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #000080, #87CEEB);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 128, 0.25);
}

.stat-card.warning {
    border-color: #f39c12;
    box-shadow: 0 15px 40px rgba(243, 156, 18, 0.15);
}

.stat-card.warning::before {
    background: linear-gradient(90deg, #f39c12, #f1c40f);
}

.stat-card.alert {
    border-color: #e74c3c;
    box-shadow: 0 15px 40px rgba(231, 76, 60, 0.15);
}

.stat-card.alert::before {
    background: linear-gradient(90deg, #e74c3c, #c0392b);
}

.stat-card h3 {
    color: #2c3e50;
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.stat-number {
    font-size: 42px;
    font-weight: 800;
    color: #000080;
    text-shadow: 0 2px 4px rgba(0, 0, 128, 0.1);
}

.stat-card.warning .stat-number {
    color: #f39c12;
}

.stat-card.alert .stat-number {
    color: #e74c3c;
}

/* Critical Alert Sections */
.critical-alert-section {
    background: white;
    border: 3px solid #e74c3c;
    border-radius: 20px;
    padding: 35px;
    margin-bottom: 35px;
    box-shadow: 0 15px 40px rgba(231, 76, 60, 0.15);
    position: relative;
    overflow: hidden;
}

.critical-alert-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #e74c3c, #c0392b);
}

.critical-alert-section.warning {
    border-color: #f39c12;
    box-shadow: 0 15px 40px rgba(243, 156, 18, 0.15);
}

.critical-alert-section.warning::before {
    background: linear-gradient(90deg, #f39c12, #f1c40f);
}

.alert-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f8fcff;
}

.alert-header h3 {
    margin: 0;
    color: #e74c3c;
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.critical-alert-section.warning .alert-header h3 {
    color: #f39c12;
}

/* Actions Section */
.actions-section {
    background: white;
    border: 3px solid #000080;
    border-radius: 20px;
    padding: 35px;
    margin-bottom: 35px;
    box-shadow: 0 15px 40px rgba(0, 0, 128, 0.15);
    position: relative;
    overflow: hidden;
}

.actions-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #000080, #87CEEB);
}

.actions-section h3 {
    margin-bottom: 25px;
    color: #000080;
    font-size: 24px;
    font-weight: 700;
}

.action-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.action-card {
    background: linear-gradient(135deg, #f8fcff 0%, #e6f3ff 100%);
    border: 3px solid #000080;
    border-radius: 20px;
    padding: 35px;
    text-decoration: none;
    color: #2c3e50;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.action-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #000080, #87CEEB);
}

.action-card:hover {
    background: linear-gradient(135deg, #e6f3ff 0%, #d1ecf1 100%);
    transform: translateY(-5px);
    border-color: #000040;
    box-shadow: 0 20px 50px rgba(0, 0, 128, 0.25);
}

.action-card h4 {
    margin-bottom: 15px;
    color: #000080;
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.action-card p {
    color: #5a6c7d;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.action-card.primary {
    border-color: #e74c3c;
    background: linear-gradient(135deg, #fff5f5 0%, #ffe6e6 100%);
}

.action-card.primary::before {
    background: linear-gradient(90deg, #e74c3c, #c0392b);
}

.action-card.primary:hover {
    background: linear-gradient(135deg, #ffe6e6 0%, #ffcccc 100%);
    border-color: #c0392b;
    box-shadow: 0 20px 50px rgba(231, 76, 60, 0.25);
}

.action-card.primary h4 {
    color: #e74c3c;
}

.action-badge {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 700;
    margin-top: 15px;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Recent Activity */
.recent-activity {
    background: white;
    border: 3px solid #000080;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 15px 40px rgba(0, 0, 128, 0.15);
    position: relative;
    overflow: hidden;
}

.recent-activity::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #000080, #87CEEB);
}

.recent-activity h3 {
    margin-bottom: 25px;
    color: #000080;
    font-size: 24px;
    font-weight: 700;
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #f8fcff;
    border-radius: 15px;
    border-left: 4px solid #000080;
    transition: all 0.3s ease;
}

.activity-item:hover {
    background: #e6f3ff;
    transform: translateX(5px);
}

.activity-icon {
    font-size: 24px;
}

.activity-text {
    flex: 1;
    color: #2c3e50;
    font-weight: 500;
}

.activity-time {
    color: #7f8c8d;
    font-size: 14px;
    font-weight: 500;
}

.no-activity {
    text-align: center;
    color: #7f8c8d;
    font-style: italic;
    padding: 50px;
    font-size: 16px;
}

/* Tables */
.table-container {
    background: white;
    border: 3px solid #000080;
    border-radius: 20px;
    padding: 35px;
    margin-bottom: 35px;
    box-shadow: 0 15px 40px rgba(0, 0, 128, 0.15);
    position: relative;
    overflow: hidden;
}

.table-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #000080, #87CEEB);
}

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f8fcff;
}

.table-header h3 {
    color: #000080;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.table-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

th, td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid #e1f0fa;
}

th {
    background: linear-gradient(135deg, #000080 0%, #000040 100%);
    color: white;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

tr:hover {
    background: #f8fcff;
    transition: all 0.3s ease;
}

tr:last-child td {
    border-bottom: none;
}

/* Status Badges */
.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}

.status-pending {
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
    color: #212529;
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.3);
}

.status-approved {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}

.status-rejected {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
}

.status-completed {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(23, 162, 184, 0.3);
}

.status-out-of-stock {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
}

.status-low-stock {
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
    color: #212529;
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.3);
}

.status-available {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}

/* Search and Filter Components */
.search-filter-section {
    background: white;
    border: 3px solid #000080;
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 128, 0.1);
    position: relative;
    overflow: hidden;
}

.search-filter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #000080, #87CEEB);
}

.search-filter-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    align-items: end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-group label {
    font-weight: 600;
    color: #2c3e50;
    font-size: 14px;
}

.filter-group input,
.filter-group select {
    padding: 12px 16px;
    border: 2px solid #e1f0fa;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s;
    background: #f8fcff;
}

.filter-group input:focus,
.filter-group select:focus {
    outline: none;
    border-color: #000080;
    background: white;
    box-shadow: 0 0 0 3px rgba(0, 0, 128, 0.1);
}

.filter-actions {
    display: flex;
    gap: 10px;
    align-items: end;
}

/* Category Buttons */
.category-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.category-btn {
    padding: 10px 20px;
    border: 2px solid #e1f0fa;
    background: white;
    color: #2c3e50;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
}

.category-btn:hover {
    background: #f8fcff;
    border-color: #000080;
    transform: translateY(-1px);
}

.category-btn.active {
    background: linear-gradient(135deg, #000080 0%, #000040 100%);
    color: white;
    border-color: #000080;
    box-shadow: 0 4px 15px rgba(0, 0, 128, 0.3);
}

/* Alerts and Messages */
.alert {
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 25px;
    border-left: 5px solid;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.alert::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
}

.alert-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border-color: #28a745;
    color: #155724;
}

.alert-success::before {
    background: linear-gradient(90deg, #28a745, #20c997);
}

.alert-error {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    border-color: #dc3545;
    color: #721c24;
}

.alert-error::before {
    background: linear-gradient(90deg, #dc3545, #c82333);
}

.alert-warning {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border-color: #ffc107;
    color: #856404;
}

.alert-warning::before {
    background: linear-gradient(90deg, #ffc107, #e0a800);
}

.alert-info {
    background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
    border-color: #17a2b8;
    color: #0c5460;
}

.alert-info::before {
    background: linear-gradient(90deg, #17a2b8, #138496);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
}

.pagination a,
.pagination span {
    padding: 12px 16px;
    border: 2px solid #e1f0fa;
    border-radius: 10px;
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: all 0.3s;
    background: white;
}

.pagination a:hover {
    background: #f8fcff;
    border-color: #000080;
    transform: translateY(-1px);
}

.pagination .current {
    background: linear-gradient(135deg, #000080 0%, #000040 100%);
    color: white;
    border-color: #000080;
    box-shadow: 0 4px 15px rgba(0, 0, 128, 0.3);
}

.pagination .disabled {
    color: #6c757d;
    cursor: not-allowed;
    opacity: 0.5;
}

/* Modal Dialogs */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: white;
    margin: 5% auto;
    padding: 0;
    border: 3px solid #000080;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 20px 60px rgba(0, 0, 128, 0.3);
    position: relative;
    overflow: hidden;
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #000080, #87CEEB);
}

.modal-header {
    padding: 25px 30px 20px;
    border-bottom: 2px solid #f8fcff;
}

.modal-header h3 {
    color: #000080;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.modal-body {
    padding: 30px;
}

.modal-footer {
    padding: 20px 30px 25px;
    border-top: 2px solid #f8fcff;
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    transition: all 0.3s;
}

.close:hover {
    color: #000080;
}

/* Form Cards */
.form-card {
    background: white;
    border: 3px solid #000080;
    border-radius: 20px;
    padding: 35px;
    margin-bottom: 35px;
    box-shadow: 0 15px 40px rgba(0, 0, 128, 0.15);
    position: relative;
    overflow: hidden;
}

.form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #000080, #87CEEB);
}

.form-card h3 {
    color: #000080;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
}

/* Request Items List */
.request-items-list {
    background: white;
    border: 3px solid #000080;
    border-radius: 20px;
    padding: 35px;
    margin-bottom: 35px;
    box-shadow: 0 15px 40px rgba(0, 0, 128, 0.15);
    position: relative;
    overflow: hidden;
}

.request-items-list::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #000080, #87CEEB);
}

.request-items-list h3 {
    color: #000080;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
}

.request-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #f8fcff;
    border-radius: 15px;
    margin-bottom: 15px;
    border-left: 4px solid #000080;
    transition: all 0.3s ease;
}

.request-item:hover {
    background: #e6f3ff;
    transform: translateX(5px);
}

.request-item-info {
    flex: 1;
}

.request-item-name {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.request-item-details {
    color: #5a6c7d;
    font-size: 14px;
}

.request-item-actions {
    display: flex;
    gap: 10px;
}

/* Log Sections */
.log-section {
    background: white;
    border: 3px solid #000080;
    border-radius: 20px;
    padding: 35px;
    margin-bottom: 35px;
    box-shadow: 0 15px 40px rgba(0, 0, 128, 0.15);
    position: relative;
    overflow: hidden;
}

.log-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #000080, #87CEEB);
}

.log-section h2 {
    color: #000080;
    margin-bottom: 25px;
    font-size: 24px;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-filters {
    background: #f8fcff;
    border: 2px solid #e1f0fa;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 25px;
}

.section-filters h3 {
    margin-bottom: 15px;
    color: #2c3e50;
    font-size: 18px;
    font-weight: 600;
}

.filters-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    align-items: end;
}

/* Notification Display */
.notification-badge {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    padding: 4px 8px;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    min-width: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
}

.notification-dropdown {
    position: relative;
    display: inline-block;
}

.notification-content {
    display: none;
    position: absolute;
    right: 0;
    background: white;
    min-width: 300px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    z-index: 1001;
    border: 2px solid #e1f0fa;
    max-height: 400px;
    overflow-y: auto;
}

.notification-content.show {
    display: block;
}

.notification-item {
    padding: 15px 20px;
    border-bottom: 1px solid #f8fcff;
    transition: all 0.3s ease;
}

.notification-item:hover {
    background: #f8fcff;
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-text {
    color: #2c3e50;
    font-size: 14px;
    margin-bottom: 5px;
}

.notification-time {
    color: #7f8c8d;
    font-size: 12px;
}

/* Additional Utility Classes */
.inline-form {
    display: inline;
}

.margin-bottom-20 {
    margin-bottom: 20px;
}

.margin-top-20 {
    margin-top: 20px;
}

.cursor-pointer {
    cursor: pointer;
}

/* Table Column Widths */
.col-width-50 {
    width: 50px;
}

.col-width-100 {
    width: 100px;
}

.col-width-120 {
    width: 120px;
}

.col-width-150 {
    width: 150px;
}

.col-width-200 {
    width: 200px;
}

/* Modal Display */
.modal-hidden {
    display: none;
}

/* Email Template Styles */
.email-container {
    background: #f0f8ff;
    padding: 15px;
    border-radius: 5px;
}

/* Chart and Graph Styles */
.chart-container {
    margin: 20px 0;
    border-top: 2px solid #e0e0e0;
}

.chart-title {
    color: #1e90ff;
    text-align: center;
    margin: 20px 0;
    font-size: 20px;
    font-weight: 600;
}

.bar-chart {
    display: flex;
    align-items: end;
    gap: 10px;
    height: 200px;
    margin: 20px 0;
}

.bar {
    flex: 1;
    background: linear-gradient(to top, #1e90ff, #0066cc);
    border-radius: 5px 5px 0 0;
    min-width: 30px;
    position: relative;
    transition: all 0.3s ease;
}

.bar:hover {
    background: linear-gradient(to top, #0066cc, #004499);
    transform: scaleY(1.05);
}

.bar-label {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    color: #2c3e50;
    font-weight: 500;
    white-space: nowrap;
}

.bar-value {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    color: #1e90ff;
    font-weight: 600;
}

.bar-empty {
    height: 20px;
    background: #f0f0f0;
    border-radius: 5px;
}

.chart-legend {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #2c3e50;
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 3px;
}

.legend-color.primary {
    background: linear-gradient(to top, #1e90ff, #0066cc);
}

.legend-color.secondary {
    background: #f0f0f0;
}

/* Section Headers */
.section-header {
    background-color: #f8f9fa;
    font-weight: bold;
    color: #1e90ff;
    padding: 10px;
    text-align: center;
    border-left: 4px solid #1e90ff;
    margin: 10px 0;
}

.section-divider {
    border: 1px solid #e0e0e0;
    margin: 10px 0;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-top: 20px;
}

.form-actions-center {
    justify-content: center;
}

.form-actions-end {
    justify-content: flex-end;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #000080;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Print Styles */
@media print {
    .navbar,
    .btn-primary,
    .btn-secondary,
    .btn-success,
    .btn-danger,
    .btn-warning,
    .form-actions,
    .pagination {
        display: none !important;
    }
    
    .container {
        padding: 0;
        max-width: none;
    }
    
    .table-container,
    .form-card,
    .log-section {
        box-shadow: none;
        border: 1px solid #000;
        page-break-inside: avoid;
    }
    
    table {
        page-break-inside: auto;
    }
    
    tr {
        page-break-inside: avoid;
        page-break-after: auto;
    }
    
    th, td {
        border: 1px solid #000;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .navbar-nav {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .container {
        padding: 20px 15px;
    }
    
    .login-form {
        margin: 40px auto;
        padding: 40px 30px;
    }
    
    .dashboard-header {
        flex-direction: column;
        gap: 25px;
        text-align: center;
        padding: 30px 25px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .action-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .alert-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .table-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .table-actions {
        justify-content: center;
    }
    
    .search-filter-form {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .filter-actions {
        justify-content: center;
    }
    
    .category-buttons {
        justify-content: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .modal-footer {
        flex-direction: column;
        gap: 10px;
    }
    
    .request-item {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .request-item-actions {
        justify-content: center;
    }
    
    .filters-form {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    table {
        font-size: 14px;
    }
    
    th, td {
        padding: 10px 12px;
    }
    
    .pagination {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .pagination a,
    .pagination span {
        padding: 10px 12px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .navbar-logo h1 {
        font-size: 20px;
    }
    
    .page-header h1,
    .dashboard-header h1 {
        font-size: 28px;
    }
    
    .stat-card {
        padding: 25px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .btn-primary,
    .btn-secondary,
    .btn-success,
    .btn-danger,
    .btn-warning {
        padding: 14px 24px;
        font-size: 14px;
    }
    
    .table-container,
    .form-card,
    .request-items-list,
    .log-section {
        padding: 25px;
    }
    
    .modal-content {
        width: 98%;
        margin: 5% auto;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 20px;
    }
}
