/* Ortak Badge Stilleri */
.badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    display: inline-block;
}

/* Stok Durumu Badge'leri */
.stock-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 2;
}

.stock-badge i {
    font-size: 10px;
}

.out-of-stock {
    background-color: #ff4444;
    color: white;
}

.critical-stock {
    background-color: #ffcdd2;
    color: #d32f2f;
}

.low-stock {
    background-color: #ffa726;
    color: white;
}

.medium-stock {
    background-color: #ffeb3b;
    color: #333;
}

.good-stock {
    background-color: #66bb6a;
    color: white;
}

.high-stock {
    background-color: #43a047;
    color: white;
}

/* Fiyat Stilleri */
.price-container {
    margin-top: auto;
    padding: 10px 0;
    width: 100%;
    text-align: center;
}

.price-row {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 5px;
}

.original-price {
    text-decoration: line-through;
    color: #999;
}

.discount-badge {
    background: #dc3545;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
}

.price {
    color: #28a745;
    font-weight: bold;
}

.tax {
    font-size: 0.8rem;
    color: #666;
    margin-left: 5px;
}

/* Form Elemanları */
.form-control {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0,123,255,0.25);
}

.btn {
    padding: 8px 16px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn-primary {
    background: #007bff;
    color: white;
}

.btn-primary:hover {
    background: #0056b3;
}

.btn-danger {
    background: #dc3545;
    color: white;
}

.btn-danger:hover {
    background: #c82333;
}

/* Layout Kredi Kartı Formu Stilleri */
.layout-credit-card-form {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: none;
}

.layout-credit-card-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.layout-credit-card-right {
    flex: 1;
}

.layout-form-group {
    margin-bottom: 12px;
}

.layout-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

.layout-form-control {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.layout-form-control:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0,123,255,0.25);
}

.layout-form-row {
    display: flex;
    gap: 12px;
}

.layout-form-row .layout-form-group {
    flex: 1;
}

.layout-form-select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background-color: #fff;
    cursor: pointer;
}

.layout-form-actions {
    margin-top: 15px;
    text-align: right;
}

.layout-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.layout-btn-primary {
    background-color: #007bff;
    color: #fff;
}

.layout-btn-primary:hover {
    background-color: #0056b3;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .layout-credit-card-form {
        padding: 15px;
    }

    .layout-form-row {
        flex-direction: column;
        gap: 10px;
    }

    .layout-form-control,
    .layout-form-select {
        padding: 6px 10px;
        font-size: 13px;
    }

    .layout-btn {
        padding: 6px 12px;
        font-size: 13px;
    }
}

@media (max-width: 767px) {
    .form-control {
        font-size: 13px;
        padding: 6px 10px;
    }
    
    .btn {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .price {
        font-size: 14px;
    }
    
    .original-price {
        font-size: 12px;
    }
    
    .discount-badge {
        font-size: 11px;
        padding: 2px 6px;
    }

    /* SweetAlert Popup Stilleri */
    .swal2-popup {
        width: 85% !important;
        max-width: 280px !important;
        padding: 1rem !important;
        margin: 0 auto !important;
        border-radius: 8px !important;
    }

    .swal2-title {
        font-size: 1rem !important;
        margin-bottom: 0.5rem !important;
        padding: 0 1rem !important;
    }

    .swal2-content {
        font-size: 0.85rem !important;
        padding: 0.5rem !important;
        margin: 0 !important;
    }

    .swal2-html-container {
        font-size: 0.85rem !important;
        margin: 0.5rem 0 !important;
        padding: 0 0.5rem !important;
    }

    .swal2-actions {
        margin-top: 0.75rem !important;
        gap: 0.5rem !important;
        padding: 0 0.5rem !important;
    }

    .swal2-confirm,
    .swal2-cancel,
    .swal2-deny {
        padding: 0.4rem 0.8rem !important;
        font-size: 0.85rem !important;
        min-width: 90px !important;
        height: 32px !important;
    }

    .swal2-icon {
        width: 3.5rem !important;
        height: 3.5rem !important;
        margin: 0 auto 0.5rem !important;
    }

    .swal2-icon.swal2-icon-show {
        font-size: 1.75rem !important;
    }

    .swal2-close {
        top: 0.3rem !important;
        right: 0.3rem !important;
        font-size: 1.25rem !important;
    }

    .swal2-timer-progress-bar {
        height: 0.2rem !important;
    }

    .swal2-input,
    .swal2-textarea {
        font-size: 0.85rem !important;
        padding: 0.4rem !important;
        margin: 0.4rem 0 !important;
    }

    .swal2-validation-message {
        font-size: 0.75rem !important;
        padding: 0.4rem !important;
    }

    .swal2-footer {
        font-size: 0.75rem !important;
        margin-top: 0.4rem !important;
        padding: 0 0.5rem !important;
    }

    /* SweetAlert2 Animasyonları */
    .swal2-popup {
        animation: swal2-show 0.2s !important;
    }

    .swal2-icon {
        animation: swal2-icon-show 0.3s !important;
    }

    @keyframes swal2-show {
        0% {
            transform: scale(0.8);
            opacity: 0;
        }
        100% {
            transform: scale(1);
            opacity: 1;
        }
    }

    @keyframes swal2-icon-show {
        0% {
            transform: scale(0.8);
            opacity: 0;
        }
        100% {
            transform: scale(1);
            opacity: 1;
        }
    }
} 
/* Responsive Media Queries */
@media (min-width: 768px) and (max-width: 1023px) {
    .form-control {
        font-size: 13px;
        padding: 6px 10px;
    }
    
    .btn {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .price {
        font-size: 14px;
    }
    
    .original-price {
        font-size: 12px;
    }
    
    .discount-badge {
        font-size: 11px;
        padding: 2px 6px;
    }
}

@media (min-width: 1024px) and (max-width: 1366px) {
    .form-control {
        font-size: 14px;
        padding: 8px 12px;
    }
    
    .btn {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    .price {
        font-size: 16px;
    }
    
    .original-price {
        font-size: 14px;
    }
}

@media (min-width: 1367px) and (max-width: 1919px) {
    .form-control {
        font-size: 15px;
        padding: 10px 14px;
    }
    
    .btn {
        padding: 10px 18px;
        font-size: 15px;
    }
    
    .price {
        font-size: 18px;
    }
    
    .original-price {
        font-size: 16px;
    }
}

@media (min-width: 1920px) {
    .form-control {
        font-size: 16px;
        padding: 12px 16px;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 16px;
    }
    
    .price {
        font-size: 20px;
    }
    
    .original-price {
        font-size: 18px;
    }
    
    .discount-badge {
        font-size: 14px;
        padding: 4px 10px;
    }
}

