/* Spotify Renk Değişkenleri */
:root {
    --spotify-green: #1db954;
    --spotify-dark: #191414;
    --spotify-light: #f8f9fa;
}

/* Akıllı Dinamik Grid Sistemi */
.smart-grid {
    display: grid;
    gap: 12px;
    margin-bottom: 20px;
}

/* Grid Boyutları - Element Sayısına Göre */
.smart-grid.cols-1 { grid-template-columns: 1fr; }
.smart-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.smart-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.smart-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.smart-grid.cols-5 { grid-template-columns: repeat(5, 1fr); }

/* Element Kartları */
.element-card {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.element-card:hover {
    border-color: var(--spotify-green);
    box-shadow: 0 2px 8px rgba(29, 185, 84, 0.1);
}

/* Kart Boyutları - İçerik Yoğunluğuna Göre */
.element-card.compact { min-height: 100px; max-height: 100px; }
.element-card.medium { min-height: 120px; max-height: 120px; }
.element-card.large { min-height: 140px; max-height: 140px; }

/* Eşit Yükseklik Kartları */
.element-card.uniform { 
    min-height: 130px; 
    max-height: 130px; 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.element-card.uniform .element-title {
    flex-shrink: 0;
}

.element-card.uniform .form-field {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Element Başlıkları - Kompakt */
.element-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--spotify-dark);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.element-title i {
    font-size: 0.9rem;
    color: var(--spotify-green);
}

/* Grup Başlıkları - Minimal */
.element-group-header {
    font-size: 1rem;
    font-weight: 600;
    color: var(--spotify-dark);
    margin: 15px 0 8px 0;
    padding: 6px 10px;
    background: linear-gradient(45deg, #f1f3f4, #e8eaed);
    border-radius: 6px;
    border-left: 3px solid var(--spotify-green);
    display: flex;
    align-items: center;
    gap: 8px;
}

.element-group-header i {
    font-size: 1rem;
    color: var(--spotify-green);
}

/* Kompakt Form Kontrolleri */
.form-field {
    margin-bottom: 4px; /* Spotify barcode butonları arasındaki boşluğu azalt */
}

/* Spotify barcode elementleri için özel margin ayarları */
.spotify-button-field {
    margin-bottom: 0px; /* Şarkı Seç butonu ile barkod renkleri arasındaki boşluğu tamamen kaldır */
    position: relative; /* Pozisyon ayarla */
    z-index: 1; /* Normal seviyede tut */
}

.spotify-barcode-field {
    margin-bottom: 1px; /* Barkod renkleri ile sonraki element arasındaki boşluğu azalt */
    margin-top: -12px; /* Renk seçicileri daha da yukarı kaldır */
    position: relative; /* Pozisyon ayarla */
    z-index: 1; /* Normal seviyede tut */
}

/* Spotify barcode elementlerinde label margin'ini azalt */
.spotify-barcode-field .form-field-label {
    margin-bottom: 1px; /* Label ile input arasındaki boşluğu daha da azalt */
}

/* Spotify barcode dropdown için özel stiller */
.spotify-barcode-field .compact-select {
    padding: 2px 4px; /* Padding'i azalt */
    min-height: 24px; /* Yüksekliği azalt */
    font-size: 0.7rem; /* Font boyutunu küçült */
    width: 80px; /* Genişliği azalt */
    text-align: center; /* Metni ortala */
    appearance: none; /* Varsayılan ok'u kaldır */
    background: white url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2212%22%20height%3D%2212%22%20viewBox%3D%220%200%2012%2012%22%3E%3Cpath%20fill%3D%22%23666%22%20d%3D%22M6%208.825L1.175%204%202.238%207.175%206%2011.825%209.763%207.175%2010.825%204z%22/%3E%3C/svg%3E") no-repeat right 2px center; /* Özel ok ekle */
    background-size: 10px; /* Ok boyutunu küçült */
    padding-right: 20px; /* Sağ tarafta ok için yer bırak */
}

.spotify-barcode-field .compact-select option {
    padding: 2px 4px; /* Option padding'ini azalt */
    font-size: 0.7rem; /* Option font boyutunu küçült */
    text-align: center; /* Option metnini ortala */
}

/* 767px üstü ekranlarda Spotify barcode elementleri için daha kompakt görünüm */
@media (min-width: 768px) {
    .spotify-button-field {
        margin-bottom: 0px; /* Boşluğu tamamen kaldır */
    }
    
    .spotify-barcode-field {
        margin-bottom: 0px; /* Boşluğu tamamen kaldır */
        margin-top: -15px; /* Desktop'ta daha da yukarı kaldır */
    }
    
    .spotify-button-field .btn-help {
        padding: 4px 8px; /* Buton padding'ini daha da azalt */
        font-size: 0.8rem;
    }
}

/* Mobil ekranlarda Spotify barcode elementleri için özel görünüm */
@media (max-width: 767px) {
    .spotify-button-field {
        position: relative; /* Pozisyon ayarla */
        z-index: 1; /* Normal seviyede tut */
    }
    
    .spotify-button-field .btn-help {
        padding: 6px 10px; /* Mobilde biraz daha büyük padding */
        font-size: 0.85rem; /* Mobilde biraz daha büyük font */
        width: 100%; /* Tam genişlik */
        display: block; /* Block olarak göster */
        position: relative; /* Pozisyon ayarla */
        z-index: 1; /* Normal seviyede tut */
    }
    
    .spotify-barcode-field .compact-select {
        width: 75px; /* Mobilde biraz daha geniş dropdown */
    }
}

.form-field-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: #666;
    margin-bottom: 2px; /* Label ile input arasındaki boşluğu azalt */
    display: block;
}

/* Inline Input + Renk Seçici */
.input-with-color {
    display: flex;
    align-items: center;
    gap: 6px;
}

.input-with-color input:not(.color-dot) {
    flex: 1;
    min-width: 0;
}

.input-with-color .color-dot {
    flex-shrink: 0;
}

/* Range + Değer + Renk */
.range-with-color {
    display: flex;
    align-items: center;
    gap: 6px;
}

.range-with-color .form-range {
    flex: 1;
    margin: 0;
}

.range-with-color .range-value {
    font-size: 0.7rem;
    color: var(--spotify-green);
    font-weight: 500;
    min-width: 35px;
    text-align: center;
}

.range-with-color .color-dot {
    flex-shrink: 0;
}

/* Kompakt Renk Seçici (Yuvarlak) */
.color-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #ddd;
    cursor: pointer;
    padding: 0;
    background: none;
    transition: all 0.2s ease;
}

.color-dot:hover {
    border-color: var(--spotify-green);
    transform: scale(1.1);
}

.color-dot:focus {
    outline: none;
    border-color: var(--spotify-green);
    box-shadow: 0 0 0 2px rgba(29, 185, 84, 0.2);
}

/* Kompakt Textarea */
.compact-textarea {
    height: 40px;
    resize: none;
    font-size: 0.8rem;
    padding: 6px 8px;
    overflow-y: auto;
}

/* Kompakt Select */
.compact-select {
    font-size: 0.75rem;
    padding: 4px 6px;
    height: auto;
    min-height: 28px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    background: white;
    transition: all 0.2s ease;
}

.compact-select:focus {
    border-color: var(--spotify-green);
    box-shadow: 0 0 0 2px rgba(29, 185, 84, 0.1);
    outline: none;
}

/* Font seçenekleri için özel stiller */
.compact-select optgroup {
    font-weight: 600;
    color: #666;
    background: #f8f9fa;
    font-size: 0.7rem;
}

.compact-select option {
    padding: 4px 8px;
    font-size: 0.75rem;
    color: #333;
    background: white;
}

.compact-select option:hover {
    background: #f0f8ff;
}

/* Kompakt Font Select - Input ile aynı satırda */
.compact-font-select {
    font-size: 0.7rem;
    padding: 3px 4px;
    height: auto;
    min-height: 26px;
    border: 1px solid #dee2e6;
    border-radius: 3px;
    background: white;
    transition: all 0.2s ease;
}

.compact-font-select:focus {
    border-color: var(--spotify-green);
    box-shadow: 0 0 0 1px rgba(29, 185, 84, 0.1);
    outline: none;
}

.compact-font-select optgroup {
    font-weight: 600;
    color: #666;
    background: #f8f9fa;
    font-size: 0.65rem;
}

.compact-font-select option {
    padding: 2px 4px;
    font-size: 0.7rem;
    color: #333;
    background: white;
}

.compact-font-select option:hover {
    background: #f0f8ff;
}

/* Kompakt Size Select - Font boyutu dropdown */
.compact-size-select {
    font-size: 0.75rem;
    padding: 4px 6px;
    height: auto;
    min-height: 28px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    background: white;
    transition: all 0.2s ease;
    width: 100%;
}

.compact-size-select:focus {
    border-color: var(--spotify-green);
    box-shadow: 0 0 0 2px rgba(29, 185, 84, 0.1);
    outline: none;
}

.compact-size-select option {
    padding: 4px 8px;
    font-size: 0.75rem;
    color: #333;
    background: white;
}

.compact-size-select option:hover {
    background: #f0f8ff;
}

/* Font, Weight, Size ve Decoration Row - Hepsi aynı satırda */
.font-weight-size-row {
    display: flex;
    align-items: center;
    gap: 3px;
}

.font-weight-size-row .compact-font-select {
    flex: 1;
    min-width: 0;
    font-size: 0.65rem;
    padding: 3px 4px;
    height: auto;
    min-height: 26px;
    border: 1px solid #dee2e6;
    border-radius: 3px;
    background: white;
    transition: all 0.2s ease;
}

.font-weight-size-row .compact-weight-select {
    flex: 1;
    min-width: 0;
    font-size: 0.65rem;
    padding: 3px 4px;
    height: auto;
    min-height: 26px;
    border: 1px solid #dee2e6;
    border-radius: 3px;
    background: white;
    transition: all 0.2s ease;
}

.font-weight-size-row .compact-weight-select:focus {
    border-color: var(--spotify-green);
    box-shadow: 0 0 0 1px rgba(29, 185, 84, 0.1);
    outline: none;
}

.font-weight-size-row .compact-size-select {
    flex: 1;
    min-width: 0;
    font-size: 0.65rem;
    padding: 3px 4px;
    height: auto;
    min-height: 26px;
    border: 1px solid #dee2e6;
    border-radius: 3px;
    background: white;
    transition: all 0.2s ease;
}


/* Kompakt Input */
.compact-input {
    font-size: 0.8rem;
    padding: 6px 8px;
    height: auto;
    min-height: 32px;
}

/* Kompakt Checkbox */
.compact-checkbox {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
}

.compact-checkbox input {
    width: 16px;
    height: 16px;
}

.compact-checkbox label {
    font-size: 0.75rem;
    margin: 0;
}

/* Calendar Element Özel Stilleri */
.calendar-element-container {
    width: 100%;
}

.calendar-main-label {
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
    font-size: 0.95rem;
    color: var(--spotify-dark);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 5px;
}

.calendar-field {
    display: flex;
    flex-direction: column;
}

.calendar-field .form-label-sm {
    margin-bottom: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #666;
}

.calendar-field .form-select-sm {
    font-size: 0.8rem;
    padding: 4px 6px;
    height: auto;
}

.calendar-field .form-control-color {
    width: 100%;
    height: 35px;
    padding: 2px;
    border-radius: 4px;
}

.calendar-checkbox {
    margin-top: 0px;
}

.calendar-checkbox .form-check {
    justify-content: flex-start;
    margin: 0;
}

.calendar-checkbox .form-check-label {
    font-size: 0.85rem;
    margin-left: 5px;
}

/* Responsive Grid Sistemi */
@media screen and (min-width: 1400px) {
    .smart-grid.cols-1 { grid-template-columns: 1fr; }
    .smart-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
    .smart-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
    .smart-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
    .smart-grid.cols-5 { grid-template-columns: repeat(5, 1fr); }
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .smart-grid.cols-1 { grid-template-columns: 1fr; }
    .smart-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
    .smart-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
    .smart-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
    .smart-grid.cols-5 { grid-template-columns: repeat(4, 1fr); }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .smart-grid.cols-1 { grid-template-columns: 1fr; }
    .smart-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
    .smart-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
    .smart-grid.cols-4 { grid-template-columns: repeat(3, 1fr); }
    .smart-grid.cols-5 { grid-template-columns: repeat(3, 1fr); }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .smart-grid.cols-1 { grid-template-columns: 1fr; }
    .smart-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
    .smart-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
    .smart-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
    .smart-grid.cols-5 { grid-template-columns: repeat(2, 1fr); }
    
    .element-card.compact { min-height: 110px; max-height: 110px; }
    .element-card.medium { min-height: 130px; max-height: 130px; }
    .element-card.large { min-height: 150px; max-height: 150px; }
}

@media screen and (max-width: 767px) {
    .smart-grid { grid-template-columns: 1fr !important; }
    
    .element-card {
        min-height: auto !important;
        max-height: none !important;
        padding: 15px;
    }
    
    .element-title {
        font-size: 0.9rem;
        margin-bottom: 10px;
        text-align: center;
        padding: 8px;
        background: linear-gradient(45deg, #e9ecef, #f8f9fa);
        border-radius: 6px;
        border-left: 3px solid var(--spotify-green);
    }
    
    .form-field {
        margin-bottom: 12px;
    }
    
    .color-dot {
        width: 25px;
        height: 25px;
    }
    
    .compact-input, .compact-textarea, .compact-select {
        font-size: 0.85rem;
        padding: 8px 10px;
    }
    
    .compact-textarea {
        height: 50px;
        resize: none;
        overflow-y: auto;
    }
}

/* Tablet için takvim grid düzenlemesi */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .calendar-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .calendar-field .form-label-sm {
        font-size: 0.75rem;
        margin-bottom: 6px;
    }
    
    .calendar-field .form-control-color {
        height: 32px;
    }
    
    .calendar-field .form-select-sm {
        font-size: 0.8rem;
        padding: 5px 7px;
    }
}

/* Mobil için takvim grid düzenlemesi */
@media screen and (max-width: 768px) {
    .calendar-element-container {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .calendar-main-label {
        font-size: 0.9rem;
        margin-bottom: 12px;
        text-align: center;
        padding: 8px;
        background: linear-gradient(45deg, #f8f9fa, #e9ecef);
        border-radius: 6px;
        border-left: 3px solid var(--spotify-green);
    }
    
    .calendar-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 0 5px;
    }
    
    .calendar-field {
        background: #f8f9fa;
        padding: 10px;
        border-radius: 6px;
        border: 1px solid #e0e0e0;
    }
    
    .calendar-field .form-label-sm {
        font-size: 0.8rem;
        font-weight: 600;
        margin-bottom: 6px;
        color: var(--spotify-dark);
        text-align: center;
    }
    
    .calendar-field .form-control-color {
        height: 40px;
        width: 100%;
        border-radius: 6px;
        border: 2px solid #dee2e6;
    }
    
    .calendar-field .form-select-sm {
        font-size: 0.85rem;
        padding: 8px 10px;
        border-radius: 6px;
        border: 2px solid #dee2e6;
        background: white;
    }
    
    .calendar-checkbox {
        margin-top: 15px;
        text-align: center;
        background: #f8f9fa;
        padding: 12px;
        border-radius: 6px;
        border: 1px solid #e0e0e0;
    }
    
    .calendar-checkbox .form-check {
        justify-content: center;
        gap: 10px;
    }
    
    .calendar-checkbox .form-check-input {
        width: 20px;
        height: 20px;
    }
    
    .calendar-checkbox .form-check-label {
        font-size: 0.9rem;
        font-weight: 500;
        color: var(--spotify-dark);
    }
}

/* Küçük mobil için takvim grid düzenlemesi */
@media screen and (max-width: 480px) {
    .calendar-element-container {
        margin-bottom: 25px;
    }
    
    .calendar-main-label {
        font-size: 0.85rem;
        padding: 10px;
    }
    
    .calendar-grid {
        gap: 15px;
        padding: 0 3px;
    }
    
    .calendar-field {
        padding: 12px;
    }
    
    .calendar-field .form-label-sm {
        font-size: 0.75rem;
        margin-bottom: 8px;
    }
    
    .calendar-field .form-control-color {
        height: 45px;
    }
    
    .calendar-field .form-select-sm {
        font-size: 0.8rem;
        padding: 10px 12px;
    }
    
    .calendar-checkbox {
        padding: 15px;
    }
    
    .calendar-checkbox .form-check-label {
        font-size: 0.85rem;
    }
}

/* Form Alan Hata Stilleri */
.form-field-error {
    border: 2px solid #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
    animation: formFieldShake 0.5s ease-in-out;
}

.form-field-error:focus {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

/* Form Alan Titreşim Animasyonu */
@keyframes formFieldShake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.form-field-shake {
    animation: formFieldShake 0.5s ease-in-out;
}

/* Element Kartı Hata Stilleri */
.element-card.has-error {
    border: 2px solid #dc3545;
    box-shadow: 0 0 10px rgba(220, 53, 69, 0.3);
    animation: elementCardShake 0.5s ease-in-out;
}

@keyframes elementCardShake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-3px); }
    20%, 40%, 60%, 80% { transform: translateX(3px); }
}

/* Hata Mesajı Stilleri */
.field-error-message {
    color: #dc3545;
    font-size: 0.8rem;
    margin-top: 5px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.field-error-message::before {
    content: "⚠️";
    font-size: 0.9rem;
}

/* Zorunlu Alan İşaretleri */
.required-field::after {
    content: " *";
    color: #dc3545;
    font-weight: bold;
}

/* Form Alan Odaklanma Stilleri */
.compact-input:focus,
.compact-textarea:focus,
.compact-select:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    outline: none;
}

/* Hata Durumunda Placeholder Rengi */
.form-field-error::placeholder {
    color: #dc3545;
    opacity: 0.7;
}

/* Responsive Hata Stilleri */
@media screen and (max-width: 768px) {
    .form-field-error {
        border-width: 2px !important;
    }
    
    .field-error-message {
        font-size: 0.75rem;
    }
}

/* Canvas Element Shake Animation */
@keyframes canvasElementShake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-2px); }
    20%, 40%, 60%, 80% { transform: translateX(2px); }
}

.canvas-element-shake {
    animation: canvasElementShake 0.5s ease-in-out;
}

/* Form Field Error Styles */
.form-field-error {
    border-color: #ff3b30 !important;
    box-shadow: 0 0 0 2px rgba(255, 59, 48, 0.2) !important;
    animation: formFieldShake 0.5s ease-in-out;
}

@keyframes formFieldShake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-3px); }
    20%, 40%, 60%, 80% { transform: translateX(3px); }
}

.form-field-shake {
    animation: formFieldShake 0.5s ease-in-out;
}

/* Element Card Error State */
.element-card.has-error {
    border-color: #ff3b30;
    box-shadow: 0 0 0 2px rgba(255, 59, 48, 0.1);
}

.element-card.has-error .element-title {
    color: #ff3b30;
}

/* Required Field Indicator */
.element-title.required-field::after {
    content: ' *';
    color: #ff3b30;
    font-weight: bold;
}

/* Form Field Focus Error State */
.form-field-error:focus {
    border-color: #ff3b30 !important;
    box-shadow: 0 0 0 2px rgba(255, 59, 48, 0.3) !important;
}

/* Error Message Styles */
.field-error-message {
    color: #ff3b30;
    font-size: 0.75rem;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.field-error-message i {
    font-size: 0.7rem;
}

/* Canvas Error Highlight */
.canvas-error-highlight {
    stroke: #ff3b30 !important;
    stroke-width: 3 !important;
    stroke-dasharray: 5, 5 !important;
    animation: canvasErrorPulse 2s ease-in-out infinite;
}

@keyframes canvasErrorPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Spotify Boyut Kontrol Butonları */
.size-control-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 3px;
    background: #f8f9fa;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
}

.size-btn {
    width: 20px;
    height: 20px;
    border: none;
    border-radius: 50%;
    background: var(--spotify-green);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.size-btn:hover {
    background: #1db954;
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(29, 185, 84, 0.3);
}

.size-btn:active {
    transform: scale(0.95);
}

.size-btn-minus {
    background: #dc3545;
}

.size-btn-minus:hover {
    background: #c82333;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
}

.size-display {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--spotify-dark);
    min-width: 45px;
    text-align: center;
    padding: 2px 6px;
    background: white;
    border-radius: 3px;
    border: 1px solid #e0e0e0;
}

/* Mobil optimizasyon */
@media (max-width: 768px) {
    .size-control-buttons {
        gap: 6px;
        padding: 3px;
    }
    
    .size-btn {
        width: 22px;
        height: 22px;
        font-size: 9px;
    }
    
    .size-display {
        font-size: 0.8rem;
        min-width: 50px;
        padding: 2px 7px;
    }
}

/* Touch cihazlar için daha büyük butonlar */
@media (hover: none) and (pointer: coarse) {
    .size-btn {
        width: 26px;
        height: 26px;
        font-size: 11px;
    }
    
    .size-display {
        font-size: 0.9rem;
        min-width: 55px;
        padding: 4px 8px;
    }
}
