:root {
    --primary-color: #E23B35;
    --secondary-color: #2980b9;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --success-color: #2ecc71;
    --danger-color: #e74c3c;
    --warning-color: #f39c12;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f5f5;
    display: flex;
    min-height: 100vh;
}

/* Sidebar Styles */
.sidebar {
    width: 250px;
    background-color: var(--dark-color);
    color: white;
    transition: all 0.3s;
    height: 100vh;
    position: fixed;
    overflow-y: auto;
}

.sidebar-header {
    padding: 20px;
    background-color: var(--primary-color);
    text-align: center;
}

.sidebar-header h3 {
    margin: 0;
    font-size: 1.5rem;
}

.sidebar-menu {
    padding: 20px 0;
}

.sidebar-menu li {
    list-style: none;
    padding: 10px 20px;
    border-left: 3px solid transparent;
    transition: all 0.3s;
}

.sidebar-menu li:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-left: 3px solid var(--primary-color);
}

.sidebar-menu .active {
    background-color: rgba(255, 255, 255, 0.1);
    border-left: 3px solid var(--primary-color);
}

.sidebar-menu li a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.sidebar-menu li .active {
background-color: rgba(255, 255, 255, 0.1);
border-left: 3px solid var(--primary-color);
}

.sidebar-menu li a i {
    margin-right: 10px;
    font-size: 1.1rem;
}

/* Main Content Styles */
.main-content {
    flex: 1;
    margin-left: 250px;
    transition: all 0.3s;
}

/* Header Styles */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background-color: #04923E;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    margin-right: 15px;
}

.search-bar {
    display: flex;
    align-items: center;
    background-color: #f0f0f0;
    border-radius: 20px;
    padding: 8px 15px;
    width: 300px;
}

.search-bar input {
    border: none;
    background: transparent;
    outline: none;
    width: 100%;
    padding: 5px;
}

.search-bar i {
    color: #777;
    margin-right: 10px;
}

.user-area {
    display: flex;
    align-items: center;
}

.user-area .user-img i {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 10px;
}

.user-area .user-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Page Header Styles */
.page-header {
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-header h2 {
    font-size: 1.8rem;
    color: var(--dark-color);
}

.breadcrumb {
    display: flex;
    list-style: none;
}

.breadcrumb li {
    margin-right: 10px;
    color: #777;
}

.breadcrumb li:after {
    content: '/';
    margin-left: 10px;
}

.breadcrumb li:last-child:after {
    content: '';
}

.breadcrumb li a {
    color: var(--primary-color);
    text-decoration: none;
}

/* Page Content Styles */
.page-content {
    padding: 20px 30px;
}

.action-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.btn {
    padding: 10px 20px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s;
}

.btn i {
    margin-right: 8px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
}

.btn-danger {
    background-color: var(--danger-color);
    color: white;
}

.btn-danger:hover {
    background-color: #c0392b;
}

.btn-success {
    background-color: var(--success-color);
    color: white;
}

.btn-success:hover {
    background-color: #27ae60;
}

.btn-warning {
    background-color: var(--warning-color);
    color: white;
}

.btn-warning:hover {
    background-color: #e67e22;
}

.filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filters select, .filters input {
    padding: 8px 15px;
    border-radius: 5px;
    border: 1px solid #ddd;
    background-color: white;
}

/* Table Styles */
.table-container {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th, .data-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.data-table th {
    background-color: #f9f9f9;
    font-weight: 600;
    color: var(--dark-color);
}

.data-table tr:hover {
    background-color: #f5f5f5;
}

.status-badge {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.status-badge.available {
    background-color: #e8f5e9;
    color: var(--success-color);
}

.status-badge.pending {
    background-color: #fff8e1;
    color: var(--warning-color);
}

.status-badge.destroyed {
    background-color: #ffebee;
    color: var(--danger-color);
}

.btn-icon {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary-color);
    margin: 0 5px;
    font-size: 1rem;
}

.btn-icon:hover {
    color: var(--secondary-color);
}

/* Form Styles */
.form-container {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 30px;
    max-width: 800px;
    margin: 0 auto;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 15px;
    border-radius: 5px;
    border: 1px solid #ddd;
    font-size: 1rem;
}

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

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 30px;
}

/* Contact Page Styles */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.contact-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.contact-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-card h3 {
    margin-bottom: 10px;
    color: var(--dark-color);
}

.contact-card p {
    color: #666;
    line-height: 1.6;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .sidebar {
        width: 80px;
        overflow: hidden;
    }

    .sidebar-header h3 {
        display: none;
    }

    .sidebar-menu li a span {
        display: none;
    }

    .sidebar-menu li a i {
        margin-right: 0;
        font-size: 1.5rem;
    }

    .sidebar-menu li {
        text-align: center;
        padding: 15px 10px;
    }

    .main-content {
        margin-left: 80px;
    }
}

@media (max-width: 768px) {
    .header {
        flex-direction: column;
        align-items: flex-start;
    }

    .search-bar {
        width: 100%;
        margin-bottom: 15px;
    }

    .page-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .breadcrumb {
        margin-top: 10px;
    }

    .action-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .filters {
        width: 100%;
    }

    .filters select {
        flex-grow: 1;
    }
}

/* Responsive Styles */
        @media (max-width: 992px) {
            .sidebar {
                transform: translateX(-250px);
            }
            
            .sidebar.active {
                transform: translateX(0);
            }
            
            .close-btn {
                display: block;
            }
            
            .main-content {
                margin-left: 0;
            }
            
            .menu-toggle {
                display: block;
            }
            
            .search-bar {
                width: auto;
                flex-grow: 1;
            }
        }

        @media (max-width: 768px) {
            .cards {
                grid-template-columns: 1fr;
            }

            .header {
                flex-direction: row;
                align-items: center;
            }

            .page-header {
                flex-direction: column;
                align-items: flex-start;
            }

            .breadcrumb {
                margin-top: 10px;
            }
        }

        @media (max-width: 576px) {
            .header {
                padding: 15px;
            }
            
            .page-header {
                padding: 15px;
            }
            
            .dashboard-content {
                padding: 15px;
            }
            
            .calendar-day {
                padding: 5px;
                font-size: 0.8rem;
            }
        }