:root {
    --primary-color: #d4af37; /* ذهبي لموقع GymCo */
    --secondary-color: #1a1a1a;
    --text-color: #ffffff;
    --bg-color: #0f0f0f;
    --card-bg: #1e1e1e;
}

body {
    font-family: 'Cairo', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    direction: rtl;
    margin: 0;
    padding: 20px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

h1, h2 {
    text-align: center;
    color: var(--primary-color);
}

.section-title {
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    margin-top: 30px;
    margin-bottom: 20px;
}

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

label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

input[type="text"],
input[type="number"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #333;
    background: #2a2a2a;
    color: #fff;
    border-radius: 8px;
    box-sizing: border-box;
}

.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 5px;
}

.radio-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

button {
    background: var(--primary-color);
    color: #000;
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    margin-top: 20px;
    transition: transform 0.2s, background 0.2s;
}

button:hover {
    transform: scale(1.02);
    background: #f1c40f;
}

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

.admin-table th, .admin-table td {
    padding: 12px;
    border: 1px solid #333;
    text-align: center;
}

.admin-table th {
    background: var(--primary-color);
    color: #000;
}

.seriousness-badge {
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: bold;
}

.high { background: #27ae60; color: white; }
.medium { background: #f39c12; color: white; }
.low { background: #e74c3c; color: white; }

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    overflow-y: auto;
}

.modal-content {
    background-color: var(--card-bg);
    margin: 5% auto;
    padding: 20px;
    border: 1px solid var(--primary-color);
    width: 80%;
    max-width: 900px;
    border-radius: 15px;
    position: relative;
}

.close {
    position: absolute;
    left: 20px;
    top: 20px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.detail-item {
    border-bottom: 1px solid #333;
    padding-bottom: 5px;
}

.detail-label {
    color: var(--primary-color);
    font-size: 0.9em;
}

.detail-value {
    font-weight: bold;
}
