* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    direction: rtl;
}

body {
    font-family: 'Tahoma', 'Arial', sans-serif;
    background: #f0f4f8;
    color: #333;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
.header {
    background: linear-gradient(135deg, #1565C0, #1976D2);
    color: white;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header h1 {
    font-size: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Cards */
.card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    margin: 20px 0;
    box-shadow: 0 2px 15px rgba(21, 101, 192, 0.1);
    border: 1px solid #e3f2fd;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #1565C0;
    font-weight: bold;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e3f2fd;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #1565C0;
    box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.1);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.btn-primary {
    background: #1565C0;
    color: white;
}

.btn-primary:hover {
    background: #0D47A1;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(21, 101, 192, 0.3);
}

.btn-danger {
    background: #d32f2f;
    color: white;
}

.btn-success {
    background: #2e7d32;
    color: white;
}

/* Table */
.data-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
}

.data-table th {
    background: #1565C0;
    color: white;
    padding: 12px;
    text-align: center;
}

.data-table td {
    padding: 12px;
    border-bottom: 1px solid #e3f2fd;
    text-align: center;
}

.data-table tr:hover {
    background: #f5f5f5;
}

/* Alert Messages */
.alert {
    padding: 15px;
    border-radius: 8px;
    margin: 10px 0;
    text-align: center;
}

.alert-success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.alert-error {
    background: #fce4ec;
    color: #c62828;
    border: 1px solid #f8bbd0;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

.pagination a {
    padding: 8px 15px;
    background: white;
    border: 1px solid #1565C0;
    color: #1565C0;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s;
}

.pagination a:hover, .pagination a.active {
    background: #1565C0;
    color: white;
}

/* Search Box */
.search-box {
    margin: 20px 0;
}

.search-box input {
    padding: 10px;
    border: 2px solid #1565C0;
    border-radius: 5px;
    width: 300px;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .data-table {
        font-size: 14px;
    }
    
    .search-box input {
        width: 100%;
    }
}