body {
    font-family: "Cairo", sans-serif;
    background: linear-gradient(135deg, #1a4b3a 0%, #2d5a45 50%, #1a4b3a 100%);
}

.arabic-text {
    font-family: "Amiri", serif;
}
.islamic-pattern {
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23f5f5dc' fill-opacity='0.03' fill-rule='evenodd'%3E%3Cpath d='M20 20c0-11.046-8.954-20-20-20v20h20zm20 0c0-11.046-8.954-20-20-20v20h20zm-20 20c0-11.046-8.954-20-20-20v20h20zm20 0c0-11.046-8.954-20-20-20v20h20z'/%3E%3C/g%3E%3C/svg%3E");
}
.kaaba-silhouette {
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23f5f5dc' fill-opacity='0.05'%3E%3Crect x='30' y='40' width='40' height='35' rx='2'/%3E%3Crect x='35' y='35' width='30' height='5' rx='1'/%3E%3Crect x='40' y='30' width='20' height='5' rx='1'/%3E%3Cpath d='M45 45h10v3h-10z'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 200px;
}
.fade-in {
    animation: fadeIn 0.5s ease-in;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.slide-in {
    animation: slideIn 0.3s ease-out;
}
@keyframes slideIn {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}
.gold-gradient {
    background: linear-gradient(135deg, #d4af37 0%, #ffd700 50%, #d4af37 100%);
}
.green-gradient {
    background: linear-gradient(135deg, #2d5a45 0%, #1a4b3a 50%, #2d5a45 100%);
}

.search-container {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 2px solid #3b82f6;
    border-radius: 50px;
    padding: 8px 16px;
}

.search-input {
    background: transparent;
    border: none;
    outline: none;
    font-size: 16px;
    color: #1e293b;
}

.search-button {
    background: #1e40af;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-button:hover {
    background: #1d4ed8;
    transform: scale(1.05);
}

.records-table {
    border-collapse: collapse;
    width: 100%;
    margin-top: 20px;
}

.table-header {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    color: white;
    font-weight: bold;
    padding: 12px;
    text-align: center;
    border: 2px solid #1e40af;
}

.table-cell {
    padding: 10px;
    text-align: center;
    border: 1px solid #cbd5e1;
    background: white;
}

.table-row:nth-child(even) .table-cell {
    background: #f8fafc;
}

.table-row:hover .table-cell {
    background: #e0f2fe;
}

.add-button {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 12px 24px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.add-button:hover {
    background: linear-gradient(135deg, #15803d 0%, #166534 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px -2px rgba(0, 0, 0, 0.2);
}

.action-button {
    padding: 6px 12px;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    font-size: 12px;
    margin: 2px;
    transition: all 0.3s ease;
}

.edit-button {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.edit-button:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    transform: scale(1.05);
}

.delete-button {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.delete-button:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    transform: scale(1.05);
}

.no-records {
    text-align: center;
    color: #64748b;
    padding: 40px;
    font-size: 18px;
}

.sidebar {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
    min-height: 100vh;
    width: 250px;
    position: fixed;
    right: 0;
    top: 0;
    padding: 20px;
    box-shadow: -4px 0 10px rgba(0, 0, 0, 0.1);
}

.sidebar-item {
    display: block;
    padding: 12px 16px;
    margin: 8px 0;
    border-radius: 8px;
    text-decoration: none;
    color: #cbd5e1;
    transition: all 0.3s ease;
}

.sidebar-item:hover {
    background: rgba(59, 130, 246, 0.2);
    color: white;
    transform: translateX(-5px);
}

.sidebar-item.active {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    color: white;
}

.main-content {
    margin-right: 270px;
    padding: 20px;
}
