* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Roboto', sans-serif; background-color: #f5f5f5; line-height: 1.6; }
.login-container { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.login-card { background: white; padding: 40px; border-radius: 8px; box-shadow: 0 10px 25px rgba(0,0,0,0.2); width: 100%; max-width: 400px; }
.login-title { text-align: center; margin-bottom: 30px; font-size: 1.8rem; color: #333; }
.admin-container { display: none; }
.header { background: #2196f3; color: white; padding: 20px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); display: flex; justify-content: space-between; align-items: center; }
.header h1 { font-size: 1.5rem; font-weight: 500; }
.nav-tabs { background: white; border-bottom: 1px solid #e0e0e0; padding: 0 20px; display: flex; gap: 0; }
.nav-tab { padding: 15px 25px; border: none; background: none; cursor: pointer; border-bottom: 2px solid transparent; transition: all 0.3s; font-size: 14px; font-weight: 500; color: #666; }
.nav-tab.active { color: #2196f3; border-bottom-color: #2196f3; }
.nav-tab:hover { background-color: #f5f5f5; color: #2196f3; }
.content { padding: 20px; }
.tab-content { display: none; }
.tab-content.active { display: block; }
.card { background: white; border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); margin-bottom: 20px; overflow: hidden; }
.card-header { padding: 20px; background: #f8f9fa; border-bottom: 1px solid #e0e0e0; display: flex; justify-content: space-between; align-items: center; }
.card-title { font-size: 1.2rem; font-weight: 500; color: #333; }
.card-content { padding: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 500; color: #666; }
.form-control { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 4px; font-size: 14px; transition: border-color 0.3s; }
.form-control:focus { outline: none; border-color: #2196f3; box-shadow: 0 0 0 2px rgba(33, 150, 243, 0.2); }
.btn { padding: 10px 20px; border: none; border-radius: 4px; cursor: pointer; font-size: 14px; font-weight: 500; text-decoration: none; display: inline-block; text-align: center; transition: all 0.3s; }
.btn-primary { background-color: #2196f3; color: white; }
.btn-primary:hover { background-color: #1976d2; }
.btn-success { background-color: #4caf50; color: white; }
.btn-success:hover { background-color: #45a049; }
.btn-danger { background-color: #f44336; color: white; }
.btn-danger:hover { background-color: #d32f2f; }
.btn-warning { background-color: #ff9800; color: white; }
.btn-warning:hover { background-color: #f57c00; }
.btn-secondary { background-color: #757575; color: white; }
.btn-secondary:hover { background-color: #616161; }
.table { width: 100%; border-collapse: collapse; margin-top: 20px; }
.table th, .table td { padding: 12px; text-align: left; border-bottom: 1px solid #e0e0e0; }
.table th { background-color: #f8f9fa; font-weight: 500; color: #666; }
.table tr:hover { background-color: #f8f9fa; }
.status-badge { padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 500; text-transform: uppercase; }
.status-pending { background-color: #fff3cd; color: #856404; }
.status-confirmed { background-color: #d4edda; color: #155724; }
.status-rejected { background-color: #f8d7da; color: #721c24; }
.status-completed { background-color: #cce5ff; color: #004085; }
.actions { display: flex; gap: 5px; }
.logout-btn { background: rgba(255,255,255,0.2); color: white; border: 1px solid rgba(255,255,255,0.3); }
.logout-btn:hover { background: rgba(255,255,255,0.3); }
.success-message, .error-message { padding: 12px; border-radius: 4px; margin-bottom: 20px; }
.success-message { background-color: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.error-message { background-color: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.hidden { display: none !important; }
.product-image { width: 60px; height: 60px; object-fit: cover; border-radius: 4px; }
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    width: 90%;
    max-width: 600px;
    overflow: hidden;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 500;
}

.modal-close {
    border: none;
    background: none;
    font-size: 1.75rem;
    font-weight: 300;
    cursor: pointer;
    color: #888;
    padding: 0;
    line-height: 1;
}

.modal-close:hover {
    color: #333;
}

.modal-body {
    padding: 24px;
    line-height: 1.7;
}

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

.detail-table td {
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.detail-table td:first-child {
    font-weight: 500;
    color: #555;
    width: 150px;
    background-color: #fdfdfd;
}
@media (max-width: 768px) {
    .nav-tabs { flex-wrap: wrap; padding: 0 10px; }
    .nav-tab { padding: 10px 15px; }
    .content { padding: 10px; }
    .table { font-size: 12px; }
    .actions { flex-direction: column; gap: 5px; }
    .btn { font-size: 12px; padding: 8px 12px; }
}