/* Ödeme Yöntemleri Sayfası Stilleri */

/* Ödeme Yöntemleri Konteyneri */
.payment-methods-container {
    margin-top: 20px;
}

/* Kredi Kartı Görsel Temsili */
.credit-card-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.credit-card-visual {
    perspective: 1000px;
    max-width: 400px;
    margin: 0 auto 20px;
}

.card-front {
    background: linear-gradient(135deg, #9c0000 0%, #ff0000 100%);
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    color: white;
    position: relative;
    height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.card-type {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    font-size: 24px;
    margin-bottom: 20px;
}

.card-number-display {
    font-size: 24px;
    letter-spacing: 2px;
    text-align: center;
    font-family: monospace;
    margin-bottom: 20px;
}

.card-details {
    display: flex;
    justify-content: space-between;
}

.card-holder, .card-expires {
    display: flex;
    flex-direction: column;
}

.card-holder .label, .card-expires .label {
    font-size: 12px;
    opacity: 0.8;
    margin-bottom: 5px;
}

.card-holder .value, .card-expires .value {
    font-size: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Ödeme Yöntemi Seçenekleri */
.payment-method-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.payment-method-tab {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    margin-right: 10px;
    flex: 1;
    background: white;
    border: none;
    text-align: left;
    font-family: inherit;
    outline: none;
}

.payment-method-tab:hover {
    background-color: #f0f0f0;
}

.payment-method-tab.active {
    border-bottom: 3px solid #121117;
    background-color: #121117;
    color: white;
}

.payment-method-tab.active .payment-method-info h3 {
    color: white;
}
.payment-method-tab.active .payment-method-info p {
    color: white;
}

.payment-method-icon {
    font-size: 24px;
    color: white;
    margin-right: 15px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #121117;
    border-radius: 50%;
}

.payment-method-tab.active .payment-method-icon {
    background-color: #121117;
    color: white;
    border: 1px solid white;
}

.payment-method-info {
    flex: 1;
}

.payment-method-info h3 {
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: 600;
    color: #121117;
}

.payment-method-info p {
    margin: 0;
    font-size: 14px;
    color: #000000;
}

/* Ödeme Yöntemi İçerikleri */
.payment-method-content {
    padding: 25px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 20px;
    background-color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.payment-method-content h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
}

/* Kredi Kartı Formu */
.credit-card-form .form-group {
    margin-bottom: 20px;
}

.credit-card-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
}

.credit-card-form input[type="text"] {
    width: 100%;
    padding: 12px 15px 12px 40px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.input-icon-wrapper {
    position: relative;
    width: 100%;
}

.input-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #777;
    z-index: 1;
}

.credit-card-form input[type="text"]:focus {
    border-color: #121117;
    outline: none;
    box-shadow: 0 0 0 1px #121117;
}

.credit-card-form input[type="text"]:focus + .input-icon,
.input-icon-wrapper:focus-within .input-icon {
    color: #121117;
}

.card-number-input {
    position: relative;
    display: flex;
    align-items: center;
}

.card-icons {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 5px;
    z-index: 1;
}

.card-icons i {
    font-size: 20px;
    color: #888;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-group.half {
    flex: 1;
}

.form-group.checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-group.checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

.form-group.checkbox label {
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.4;
}

.pay-button, .complete-order {
    width: 100%;
    padding: 16px;
    background-color: #121117;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
    box-shadow: 0 4px 8px rgba(18, 17, 23, 0.3);
}

.pay-button:hover, .complete-order:hover {
    background-color: #1d1c25;
}

/* Banka Hesapları */
.bank-accounts {
    margin-bottom: 30px;
}

.bank-account {
    display: flex;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    background-color: white;
}

.bank-logo {
    width: 80px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.bank-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.bank-details {
    flex: 1;
}

.bank-details h4 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
}

.bank-details p {
    margin: 0 0 5px 0;
    font-size: 14px;
    color: #121117;
}

.iban-number {
    font-family: monospace;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.copy-iban {
    background-color: transparent;
    border: 1px solid #121117;
    color: #121117;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    margin-top: 8px;
    transition: all 0.3s;
}

.copy-iban:hover {
    background-color: #121117;
    color: white;
}

.copy-iban i {
    margin-right: 5px;
}

/* Dekont Yükleme */
.receipt-upload {
    margin-top: 30px;
}

.receipt-upload h3 {
    margin-bottom: 10px;
}

.receipt-upload p {
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
}

.upload-area {
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    margin-bottom: 20px;
    transition: all 0.3s;
    cursor: pointer;
    background-color: white;
}

.upload-area.dragover {
    border-color: #4CAF50;
    background-color: #f0f9f0;
}

.upload-icon {
    font-size: 40px;
    color: #888;
    margin-bottom: 15px;
}

.browse-link {
    color: #121117;
    font-weight: 500;
    cursor: pointer;
}

.file-types {
    font-size: 12px !important;
    color: #888 !important;
    margin-top: 10px !important;
}

.uploaded-file {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    background-color: white;
    border: 1px solid #121117;
    border-radius: 4px;
    margin-bottom: 20px;
}

.file-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.file-info i {
    font-size: 20px;
    color: #121117;
}

.file-name {
    font-weight: 500;
}

.file-size {
    color: #121117;
    font-size: 13px;
}

.remove-file {
    background: none;
    border: none;
    color: #ff5252;
    cursor: pointer;
    font-size: 18px;
}

/* Sipariş Özeti - Ürünler */
.order-products {
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.order-products h3 {
    font-size: 16px;
    margin-bottom: 15px;
    text-align: left;
}

.order-product-item {
    display: flex;
    margin-bottom: 15px;
}

.order-product-image {
    width: 60px;
    height: 60px;
    margin-right: 10px;
}

.order-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.order-product-details {
    flex: 1;
}

.order-product-details h4 {
    margin: 0 0 5px 0;
    font-size: 14px;
    font-weight: 500;
    text-align: left;
}

.order-product-code {
    font-size: 12px;
    color: #888;
    margin: 0 0 5px 0;
}

.order-product-price-qty {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.order-product-price {
    font-weight: 600;
}

.order-product-qty {
    color: #666;
}

/* Teslimat Adresi Özeti */
.delivery-address-summary {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #eee;
    text-align: left;
}

.delivery-address-summary h3 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #121117;
    font-weight: 600;
    padding-bottom: 8px;
    text-align: left;
}

.selected-address {
    background-color: #f9f9f9;
    padding: 12px;
    border-radius: 4px;
}

.selected-address .address-name {
    font-weight: 600;
    margin: 0 0 5px 0;
    text-align: left;
}

.selected-address .address-details {
    font-size: 14px;
    color: #666;
    margin: 0;
    text-align: left;
}

/* Payment Options */
.payment-options {
    margin-bottom: 20px;
}

.installment-options label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
}

.installment-select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23888" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20px;
}

.installment-select:focus {
    border-color: #121117;
    outline: none;
}

.secure-payment-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    color: white;
    background-color: #121117;
    padding: 10px 15px;
    border-radius: 4px;
    border: none;
}

.secure-payment-info i {
    color: white;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .bank-account {
        flex-direction: column;
    }
    
    .bank-logo {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .upload-area {
        padding: 20px;
    }
    
    .credit-card-visual {
        max-width: 100%;
    }
    
    .card-front {
        height: 180px;
    }
    
    .card-number-display {
        font-size: 20px;
    }
    
    /* Mobil görünümde ödeme yöntemi sekmelerini düzenleme */
    .payment-method-tab {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 15px 10px;
    }
    
    .payment-method-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .payment-method-info {
        width: 100%;
        text-align: center;
    }
    
    /* Mobil görünümde sipariş özeti düzenlemeleri */
    .order-product-image {
        width: 80px;
        height: 80px;
        margin-right: 15px;
    }
    
    .order-product-details {
        text-align: left;
    }
    
    .order-product-details h4 {
        font-size: 16px;
        font-weight: 600;
    }
    
    .order-product-code {
        text-align: left;
    }
    
    .order-product-price-qty {
        text-align: left;
    }
    
    .order-product-price {
        font-size: 16px;
        font-weight: 700;
    }
    
    .order-product-qty {
        font-size: 14px;
        color: #666;
    }
    
    .summary-row {
        text-align: left;
    }
}
