/* جمعية القطيف الخيرية - التصميم الموحد */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', sans-serif;
}

body {
    background: linear-gradient(135deg, #1e7e34 0%, #155724 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.3);
    max-width: 600px;
    width: 100%;
    padding: 40px;
}

.logo {
    text-align: center;
    margin-bottom: 30px;
}

.logo h1 {
    color: #1e7e34;
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
}

.logo p {
    color: #666;
    font-size: 15px;
}

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

.form-group label {
    display: block;
    color: #333;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 15px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s;
    font-family: 'Cairo', sans-serif;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #1e7e34;
}

.choice-group {
    margin-bottom: 25px;
}

.choice-group label {
    display: block;
    color: #333;
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 15px;
}

.choice-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.choice-btn {
    padding: 15px;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    color: #666;
}

.choice-btn:hover {
    border-color: #1e7e34;
}

.choice-btn.active {
    background: #1e7e34;
    border-color: #1e7e34;
    color: white;
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: #1e7e34;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {
    background: #155724;
    transform: translateY(-2px);
}

.submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.alert {
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: none;
}

.alert.show {
    display: block;
}

.alert-error {
    background: #fee;
    color: #c00;
    border-left: 4px solid #c00;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.note {
    margin-top: 20px;
    padding: 15px;
    background: #e8f5e9;
    border-radius: 10px;
    color: #1e7e34;
    font-size: 14px;
    text-align: center;
}

.user-info {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.user-info p {
    margin: 5px 0;
    color: #666;
}

.user-info strong {
    color: #1e7e34;
}

.logout-btn {
    display: inline-block;
    padding: 8px 15px;
    background: #dc3545;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    margin-top: 10px;
    transition: all 0.3s;
}

.logout-btn:hover {
    background: #c82333;
}


@media (max-width: 768px) {
    .container {
        padding: 25px;
    }
    
    .logo h1 {
        font-size: 24px;
    }
}
