/* Genel Stiller */
.ham-form-wrapper,
.ham-menu-selection-wrapper {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Form Stiller */
.ham-form-row {
    margin-bottom: 1.5rem;
}

.ham-form-row label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.ham-form-row input[type="text"],
.ham-form-row input[type="email"],
.ham-form-row input[type="tel"],
.ham-form-row input[type="date"],
.ham-form-row textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.ham-form-row.dates {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.allergens-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.allergen-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Mesaj Stiller */
.ham-message {
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 4px;
}

.ham-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.ham-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Buton Stiller */
.ham-submit-button {
    background-color: #0073aa;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

.ham-submit-button:hover {
    background-color: #005177;
}

/* Menü Seçim Stiller */
.ham-menu-day {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f9f9f9;
    border-radius: 4px;
}

.ham-menu-day h2 {
    margin-top: 0;
    color: #23282d;
    border-bottom: 2px solid #0073aa;
    padding-bottom: 0.5rem;
}

.ham-meal-section {
    margin: 1.5rem 0;
}

.ham-menu-options {
    display: grid;
    gap: 1rem;
}

.menu-option {
    padding: 1rem;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.menu-option input[type="radio"] {
    margin-right: 0.5rem;
}

/* Admin Panel Stiller */
.ham-admin-filters {
    margin: 1rem 0;
    display: flex;
    gap: 1rem;
}

.ham-status {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    font-size: 0.875rem;
}

.status-pending {
    background: #fff6dd;
    color: #856404;
}

.status-approved {
    background: #d4edda;
    color: #155724;
}

.status-completed {
    background: #cce5ff;
    color: #004085;
}

/* Modal Stiller */
.ham-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.ham-modal-content {
    position: relative;
    background-color: #fff;
    margin: 10% auto;
    padding: 2rem;
    max-width: 600px;
    border-radius: 8px;
}

.ham-modal-close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Duyarlı Tasarım */
@media (max-width: 768px) {
    .ham-form-wrapper,
    .ham-menu-selection-wrapper {
        margin: 1rem;
        padding: 1rem;
    }

    .ham-form-row.dates {
        grid-template-columns: 1fr;
    }

    .allergens-grid {
        grid-template-columns: 1fr;
    }

    .ham-admin-filters {
        flex-direction: column;
    }
}

.ham-allergens-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 10px;
}

.ham-allergen-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: all 0.3s ease;
    background: #fff;
}

.ham-allergen-item:hover {
    border-color: #323b86;
    background: #f8f9fa;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.ham-allergen-item label {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.ham-allergen-item img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.ham-allergen-item input[type="checkbox"] {
    margin: 0;
}

.ham-allergen-item span {
    font-size: 14px;
    color: #333;
}