﻿.checkout-page {
    max-width: 1440px;
    margin: 0 auto;
    padding: 8rem 2rem 4rem;
}

/* Checkout Sayfası Ana Stilleri */
.checkout-container {
    max-width: 100%;
    margin: 40px auto;
    padding: 0 20px;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
}

.checkout-left, .checkout-right{
    display: inline-block;
}
/* Ödeme Formu Bölümü */
.order-form-section {
    background: #ffffff;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom:30px;
}

    .order-form-section h2 {
        font-size: 28px;
        color: #000;
        margin-bottom: 30px;
        font-weight: 900;
        font-family: "Playfair", serif;
    }

.form-group {
    margin-bottom: 25px;
}

    .form-group label {
        display: block;
        margin-bottom: 10px;
        color: #34495e;
        font-size: 17px;
        line-height: 1.5;
        font-weight: 300;
    }

    .form-group input {
        width: 100%;
        padding: 14px;
        border: 2px solid #e9ecef;
        border-radius: 8px;
        font-size: 16px;
        transition: all 0.3s ease;
        background: #f8f9fa;
    }

        .form-group input:focus {
            border-color: #4a90e2;
            box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
            outline: none;
            background: #ffffff;
        }

        .form-group input::placeholder {
            color: #adb5bd;
        }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.input-with-icon{
    position:relative
}
/* Ödeme Butonu */
.payment-button,
.contribute-button {
    width: 100%;
    padding: 16px;
    background: var(--gold);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

    .payment-button:hover,
    .contribute-button:hover {
        background: var(--black);
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(53, 122, 189, 0.2);
    }

.payment-button:active,
.contribute-button:active {
    transform: translateY(0);
}

/* Sipariş Özeti Bölümü */
.order-summary-section {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    position: sticky;
    top: 140px;
}

.summary-box {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

    .summary-box h2 {
        font-size: 22px;
        color: #2c3e50;
        margin-bottom: 20px;
        font-weight: 900;
        font-family: "Playfair", serif;
    }

.plan-details {
    margin: 20px 0;
    padding-bottom: 20px;
    border-bottom: 2px solid #f1f3f5;
}

    .plan-details h3 {
        font-size: 18px;
        color: #2c3e50;
        margin-bottom: 10px;
    }

.price {
    font-size: 24px;
    color: #2c3e50;
    font-weight: 600;
    margin: 10px 0;
}

.recurring-info {
    font-size: 14px;
    color: #6c757d;
    margin-top: 5px;
}

.total-section {
    margin-top: 20px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
}

/* Güvenlik Bilgisi */
.security-info {
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: center;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

    .security-info i {
        color: #28a745;
        font-size: 18px;
    }

    .security-info p {
        font-size: 14px;
        margin: 0;
    }

/* Hata Durumları */
.form-group input.error {
    border-color: #dc3545;
}

.error-message {
    color: #dc3545;
    font-size: 13px;
    margin-top: 5px;
}

/* Kart İkon Stilleri */
.card-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #adb5bd;
}

/* Loading Durumu */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading-spinner {
    display: inline-block;
    margin-right: 8px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Responsive Tasarım */
@media (max-width: 992px) {
    .checkout-grid {
        grid-template-columns: 1fr;
    }

    .order-summary-section {
        position: relative;
        top: 0;
        margin-top: 30px;
    }
}

@media (max-width: 576px) {
    .checkout-container {
        margin: 20px auto;
        padding: 0 15px;
    }

    .order-form-section,
    .order-summary-section {
        padding: 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .order-form-section h1 {
        font-size: 24px;
    }

    .price {
        font-size: 20px;
    }
}

/* Animasyonlar */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.checkout-container {
    animation: fadeIn 0.5s ease-out;
}
