* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    -webkit-tap-highlight-color: transparent;
}

body {
    background: #f5f7fa;
    min-height: 100vh;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.header {
    background: #fff;
    padding: 16px 20px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
    position: relative;
    z-index: 1000;
}

.logo-area img {
    height: 34px;
    width: auto;
}

.main-container {
    max-width: 480px;
    margin: 24px auto;
    padding: 0 16px;
}

.payment-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin-bottom: 32px;
    padding: 0 12px;
}

.payment-steps::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 50px;
    right: 50px;
    height: 2px;
    background: #e2e8f0;
    z-index: 1;
}

.step {
    position: relative;
    z-index: 2;
    background: #f5f7fa;
    padding: 0 15px;
    text-align: center;
}

.step-icon {
    width: 50px;
    height: 50px;
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    color: #94a3b8;
    font-size: 18px;
    transition: all 0.3s ease;
}

.step.active .step-icon {
    background: #c21018;
    border-color: #c21018;
    color: #fff;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.step-text {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

.step.active .step-text {
    color: #c21018;
}

.form-container {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 4px 24px -6px rgba(15, 23, 42, 0.06);
    padding: 32px 28px;
}

.form-title {
    font-size: 24px;
    color: #0f172a;
    margin-bottom: 12px;
    text-align: center;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.form-description {
    text-align: center;
    color: #64748b;
    margin-bottom: 28px;
    font-size: 14px;
    padding: 0 10px;
    line-height: 1.6;
}

.amount-info {
    text-align: center;
    font-size: 13px;
    color: #c21018;
    margin-bottom: 28px;
    padding: 14px;
    background: #faf2f3;
    border: 1px solid #bfdbfe;
    border-radius: 12px;
}

.amount-info2 {
    text-align: center;
    font-size: 13px;
    color: #b91c1c; /* Koyu kırmızı metin */
    margin-bottom: 28px;
    padding: 14px;
    background: #fef2f2; /* Açık kırmızı arka plan */
    border: 1px solid #fca5a5; /* Orta kırmızı sınır */
    border-radius: 12px;
}

.amount-info3 {
    text-align: center;
    font-size: 13px;
    color: #15803d; /* Koyu yeşil metin */
    margin-bottom: 28px;
    padding: 14px;
    background: #d1fae5; /* Açık yeşil arka plan */
    border: 1px solid #86efac; /* Orta yeşil sınır */
    border-radius: 12px;
}

.form-group {
    margin-bottom: 22px;
    position: relative;
}

.form-group i {
    position: absolute;
    left: 16px;
    top: 43px;
    color: #94a3b8;
    font-size: 16px;
    transition: color 0.2s ease;
}

.form-group input:focus + i {
    color: #c21018;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #334155;
    font-weight: 500;
    font-size: 14px;
}

input[type="text"],
input[type="email"],
input[type="number"],
input[type="tel"] {
    width: 100%;
    padding: 14px 16px 14px 45px;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    font-size: 15px;
    transition: all 0.2s ease;
    background: #fff;
    color: #0f172a;
    -webkit-appearance: none;
    appearance: none;
}

input:focus {
    border-color: #c21018;
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

input::placeholder {
    color: #94a3b8;
}

.payment-methods {
    display: grid;
    grid-template-columns: <?php echo count($payment_methods) > 1 ? '1fr 1fr' : '1fr'; ?>;
    gap: 12px;
    margin-top: 28px;
}

.payment-method {
    position: relative;
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 16px;
    padding: 18px;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
}

.payment-method input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.payment-method:hover {
    border-color: #93c5fd;
    background: #f8fafc;
}

.payment-method.selected {
    border-color: #c21018;
    background: #faf2f3;
}
.payment-method.selected::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    background: #c21018;
    width: 24px;
    height: 24px;
    border-bottom-left-radius: 12px;
}

.payment-method.selected::after {
    content: '✓';
    position: absolute;
    top: 3px;
    right: 6px;
    color: white;
    font-size: 12px;
}

.payment-method i {
    font-size: 24px;
    margin-bottom: 10px;
    color: #c21018;
    transition: transform 0.2s ease;
    display: block;
}

.payment-method:hover i {
    transform: translateY(-2px);
}

.payment-method-title {
    font-weight: 500;
    color: #334155;
    font-size: 14px;
}

.submit-btn {
    background: #c21018;
    color: white;
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 600;
    margin-top: 28px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.submit-btn:hover {
    background: #c21018;
}

.submit-btn:active {
    transform: translateY(1px);
}

.payment-info {
    text-align: center;
    margin-top: 20px;
    color: #64748b;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.payment-info i {
    color: #c21018;
    font-size: 14px;
}

/* Mobil optimizasyonları */
@media (max-width: 480px) {
    body {
        background: #fff;
    }

    .main-container {
        margin: 16px auto;
        padding: 0 12px;
    }

    .form-container {
        padding: 24px 20px;
        border-radius: 20px;
        box-shadow: none;
    }

    .payment-methods {
        grid-template-columns: 1fr;
    }

    .payment-method {
        padding: 16px;
    }

    input {
        font-size: 16px;
        padding: 12px 16px 12px 42px;
    }

    .form-group i {
        top: 41px;
        left: 14px;
    }

    .submit-btn {
        padding: 15px;
        border-radius: 12px;
    }

    .step-icon {
        width: 44px;
        height: 44px;
        font-size: 16px;
    }

    .payment-steps::before {
        top: 22px;
    }

    .step-text {
        font-size: 12px;
    }
}

/* iOS spesifik düzeltmeler */
@supports (-webkit-touch-callout: none) {
    input {
        font-size: 16px;
    }

    .form-container {
        border-radius: 20px;
    }

    .submit-btn {
        cursor: default;
    }
    /* Ödeme Adımları için güncellenen CSS */
    .payment-steps {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
        margin: 0 auto 32px;
        padding: 20px;
        max-width: 440px;
    }

    .payment-steps::before {
        content: '';
        position: absolute;
        top: 45%;
        left: 80px;
        right: 80px;
        height: 2px;
        background: #e2e8f0;
        z-index: 1;
    }

    .step {
        position: relative;
        z-index: 2;
        background: #f5f7fa;
        padding: 0 12px;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 85px;
    }

    .step-icon {
        width: 46px;
        height: 46px;
        background: #fff;
        border: 2px solid #e2e8f0;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 8px;
        color: #94a3b8;
        font-size: 16px;
        transition: all 0.3s ease;
        position: relative;
        z-index: 2;
        box-shadow: 0 2px 4px rgba(148, 163, 184, 0.1);
    }

    .step.active .step-icon {
        background: #c21018;
        border-color: #c21018;
        color: #fff;
        box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
    }

    .step-text {
        font-size: 13px;
        color: #64748b;
        font-weight: 500;
        white-space: nowrap;
    }

    .step.active .step-text {
        color: #c21018;
        font-weight: 600;
    }

    /* Mobil optimizasyonları */
    @media (max-width: 480px) {
        .payment-steps {
            padding: 15px 10px;
            margin-bottom: 24px;
        }

        .payment-steps::before {
            left: 50px;
            right: 50px;
        }

        .step {
            width: auto;
            padding: 0 8px;
        }

        .step-icon {
            width: 40px;
            height: 40px;
            font-size: 14px;
            margin-bottom: 6px;
        }

        .step-text {
            font-size: 11px;
            max-width: 70px;
            text-align: center;
            line-height: 1.2;
        }

        /* Arkaplan düzeltmesi */
        body {
            background: #f5f7fa;
        }

        .main-container {
            background: ;
            margin-top: 0;
            padding-top: 15px;
        }

        .form-container {
            margin-top: 20px;
        }
    }

    /* iPhone SE gibi küçük ekranlar için */
    @media (max-width: 360px) {
        .payment-steps {
            padding: 12px 5px;
        }

        .payment-steps::before {
            left: 40px;
            right: 40px;
        }

        .step {
            padding: 0 5px;
        }

        .step-icon {
            width: 36px;
            height: 36px;
            font-size: 28px;
        }

        .step-text {
            font-size: 10px;
            max-width: 60px;
        }
    }

    /* Yatay mobil görünüm için */
    @media (max-height: 480px) and (orientation: landscape) {
        .payment-steps {
            padding: 10px;
            margin-bottom: 20px;
        }

        .step-icon {
            width: 38px;
            height: 38px;
            margin-bottom: 4px;
        }
    }
       