.ekstra-set-container {
    max-width: 1400px;
    margin: 0 auto;
}

.es-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.es-header-left h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 0.25rem 0;
}

.es-header-left p {
    color: #6b7280;
    font-size: 0.875rem;
    margin: 0;
}

.es-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    border-radius: 10px;
    font-weight: 500;
    font-size: 0.875rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.es-btn-primary {
    background: linear-gradient(135deg, #FF6247, #FF4225);
    color: white;
}

.es-btn-primary:hover {
    background: linear-gradient(135deg, #FF4225, #E63820);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 98, 71, 0.3);
}

.es-btn-secondary {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.es-btn-secondary:hover {
    background: #e2e8f0;
}

.es-btn-add {
    width: 100%;
    padding: 0.75rem;
    background: white;
    color: #FF6247;
    border: 2px dashed #ffcdc6;
    margin-top: 0.75rem;
    justify-content: center;
}

.es-btn-add:hover {
    background: #fef8f7;
    border-color: #FF6247;
}

/* Grid */
.es-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1rem;
}

/* Card */
.es-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.25rem;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.es-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #FF6247, #FF4225);
}

.es-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.es-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.es-card-title {
    font-weight: 600;
    font-size: 1.05rem;
    color: #1f2937;
}

.es-card-actions {
    display: flex;
    gap: 0.375rem;
}

.es-icon-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: white;
    color: #64748b;
    cursor: pointer;
    transition: all 0.15s ease;
    font-size: 1rem;
}

.es-icon-btn:hover {
    background: #f8fafc;
    color: #FF6247;
    border-color: #FF6247;
}

.es-icon-btn-danger:hover {
    background: #fef2f2;
    color: #dc2626;
    border-color: #dc2626;
}

.es-card-desc {
    color: #6b7280;
    font-size: 0.8125rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.es-card-body {
    margin-bottom: 0.75rem;
}

.es-card-stat {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.es-card-stat i {
    color: #FF6247;
}

.es-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
}

.es-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.625rem;
    background: #fef8f7;
    color: #9a3412;
    border: 1px solid #ffcdc6;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
}

.es-tag small {
    color: #FF6247;
    font-weight: 600;
}

.es-tag-more {
    background: #f1f5f9;
    color: #64748b;
    border-color: #e2e8f0;
}

.es-card-footer {
    padding-top: 0.5rem;
    border-top: 1px solid #f1f5f9;
}

.es-card-date {
    font-size: 0.75rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Empty State */
.es-empty {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border: 2px dashed #e2e8f0;
    border-radius: 16px;
}

.es-empty-icon {
    font-size: 3rem;
    color: #cbd5e1;
    margin-bottom: 1rem;
}

.es-empty h3 {
    font-size: 1.125rem;
    color: #1f2937;
    margin: 0 0 0.5rem 0;
}

.es-empty p {
    color: #6b7280;
    font-size: 0.875rem;
    margin: 0 0 1.25rem 0;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Modal Overrides */
#setModal .modal-content {
    max-width: 780px;
}

/* Form */
.es-form-group {
    margin-bottom: 1rem;
}

.es-form-label {
    display: block;
    font-weight: 500;
    font-size: 0.875rem;
    color: #374151;
    margin-bottom: 0.375rem;
}

.es-form-divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1.25rem 0;
    color: #94a3b8;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.es-form-divider::before,
.es-form-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e2e8f0;
}

.es-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

/* Option Row */
.es-option-row {
    background: #fafbfc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.875rem;
    margin-bottom: 0.5rem;
    transition: all 0.15s ease;
}

.es-option-row:hover {
    border-color: #cbd5e1;
}

.es-option-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr auto;
    gap: 0.5rem;
    align-items: center;
}

.es-option-field input,
.es-option-field select {
    font-size: 0.8125rem;
}

.es-option-field .ozellik-fiyat-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.es-option-field .ozellik-fiyat-symbol {
    position: absolute;
    left: 8px;
    color: #FF6247;
    font-weight: 700;
    font-size: 0.8125rem;
    pointer-events: none;
    z-index: 1;
}

.es-option-field .ozellik-fiyat-wrap input {
    padding-left: 1.5rem;
}

.es-option-field label {
    display: block;
    font-size: 0.75rem;
    color: #64748b;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.es-btn-remove {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid #fecaca;
    background: white;
    color: #dc2626;
    cursor: pointer;
    transition: all 0.15s ease;
    font-size: 0.875rem;
}

.es-btn-remove:hover {
    background: #fef2f2;
}

.es-option-recipe {
    display: none;
    grid-template-columns: 1fr 0.6fr 0.4fr 1fr;
    gap: 0.5rem;
    margin-top: 0.625rem;
    padding-top: 0.625rem;
    border-top: 1px dashed #e2e8f0;
}

.es-recipe-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.5rem;
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 0.75rem;
    cursor: pointer;
    margin-top: 0.375rem;
    transition: color 0.15s ease;
}

.es-recipe-toggle:hover,
.es-recipe-toggle.active {
    color: #FF6247;
}

@media (max-width: 768px) {
    .es-header {
        flex-direction: column;
    }

    .es-grid {
        grid-template-columns: 1fr;
    }

    .es-option-main {
        grid-template-columns: 1fr;
    }

    .es-option-recipe {
        grid-template-columns: 1fr 1fr;
    }

    #setModal .modal-content {
        max-width: 95vw;
    }
}
