@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
    background-color: #f5f7fa;
}

.sidebar {
    transition: all 0.3s ease;
}

/* Show sidebar by default on desktop */
@media (min-width: 768px) {
    .sidebar {
        transform: translateX(0) !important;
    }
}

/* Hide sidebar by default on mobile */
@media (max-width: 767px) {
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.open {
        transform: translateX(0);
    }
}

.sidebar-item {
    transition: all 0.2s ease;
}

.sidebar-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.sidebar-item.active {
    background-color: rgba(255, 255, 255, 0.2);
    border-left: 4px solid #ffffff;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
}

.status-pending {
    background-color: #fef3c7;
    color: #92400e;
}

.status-approved {
    background-color: #d1fae5;
    color: #065f46;
}

.status-rejected {
    background-color: #fee2e2;
    color: #b91c1c;
}

.action-button {
    transition: all 0.2s ease;
}

.table-container {
    overflow-x: auto;
}

/* Modal Styles */
.modal-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 50;
}

.modal-backdrop.hidden {
    display: none !important;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 51;
    max-width: 24rem;
    width: 90%;
}

.modal-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 1rem;
}

.modal-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.modal-cancel {
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    background-color: #F3F4F6;
    color: #4B5563;
    font-weight: 500;
    transition: background-color 0.2s;
}

.modal-cancel:hover {
    background-color: #E5E7EB;
}

.modal-confirm {
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 500;
    transition: background-color 0.2s;
}

.modal-confirm.approve {
    background-color: #059669;
    color: white;
}

.modal-confirm.approve:hover {
    background-color: #047857;
}

.modal-confirm.reject {
    background-color: #DC2626;
    color: white;
}

.modal-confirm.reject:hover {
    background-color: #B91C1C;
}
