/* Auth sayfaları (register, login, payment vb.) için paylaşılan stiller */
.auth-page {
    padding-top: 48px;   /* 56px -> 48px */
    padding-bottom: 100px;
}
/* section-padding ile birlikte kullanıldığında da üst boşluğu küçült */
.auth-page.section-padding {
    padding-top: 48px;   /* 56px -> 48px */
}

.auth-card {
    background: rgba(10, 12, 18, 0.85);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 32px;
    color: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.auth-header h2 {
    font-weight: 700;
    letter-spacing: 0.2px;
    color: #fff;
}

.auth-header h3 {
    font-weight: 700;
    letter-spacing: 0.2px;
    color: #fff;
}

.auth-header p {
    color: rgba(255,255,255,0.8);
}

/* Text visibility improvements */
.payment-desc {
    color: rgba(255,255,255,0.8) !important;
}

.product-desc {
    color: rgba(255,255,255,0.7) !important;
}

.product-duration {
    color: rgba(255,255,255,0.6) !important;
}

.terms-label {
    color: rgba(255,255,255,0.85) !important;
}

.auth-form .form-label {
    color: #e7e7e7;
    font-weight: 500;
}

.auth-form .form-control {
    background: #0f1320;
    border: 1px solid rgba(255,255,255,0.08);
    color: #fff;
    padding: 12px 14px;
    border-radius: 10px;
}

.auth-form .form-control::placeholder {
    color: rgba(255,255,255,0.5);
}

.auth-form .form-control:focus {
    border-color: #6c5ce7;
    box-shadow: 0 0 0 0.15rem rgba(108, 92, 231, 0.18);
    background: #0f1320;
    color: #fff;
}

.auth-form .form-check-input {
    border-color: rgba(255,255,255,0.3);
    background: transparent;
}

.auth-form .form-check-input:checked {
    background-color: #6c5ce7;
    border-color: #6c5ce7;
}

.theme-btn.w-100 {
    width: 100%;
}

/* Bölücü */
.auth-divider {
    position: relative;
    text-align: center;
    margin: 22px 0;
    color: rgba(255,255,255,0.7);
}
.auth-divider::before,
.auth-divider::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: rgba(255,255,255,0.12);
}
.auth-divider::before { left: 0; }
.auth-divider::after { right: 0; }
.auth-divider span {
    padding: 0 10px;
    background: transparent;
}

/* OAuth */
.oauth-group {
    margin-bottom: 14px;
}
.oauth-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 10px;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.12);
    color: #fff;
    text-decoration: none;
    transition: transform .08s ease, box-shadow .2s ease, background .2s ease;
}
.oauth-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.25);
}
.oauth-google {
    background: #fff;
    border-color: #dadce0;
    color: #3c4043;
}
.oauth-google:hover {
    background: #f8f9fa;
    border-color: #dadce0;
    color: #3c4043;
    box-shadow: 0 1px 2px 0 rgba(60,64,67,.30), 0 1px 3px 1px rgba(60,64,67,.15);
}
.oauth-google .oauth-icon {
    width: 18px;
    height: 18px;
    filter: none;
}

/* Alt linkler */
.auth-footer .auth-link {
    color: #6c8cff;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.auth-footer .auth-link:hover {
    opacity: 0.9;
}

.auth-small-note {
    margin-top: 16px;
    color: rgba(255,255,255,0.7);
}
.auth-small-note .back-home {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
}
.auth-small-note .back-home:hover {
    color: #fff;
}

/* ======== PAYMENT SAYFASI STİLLERİ ======== */

/* Payment wrapper */
.payment-wrapper {
    margin: 0;
}

/* Ürün bilgileri kartı */
.product-info-card {
    height: fit-content;
    position: sticky;
    top: 120px;
}

.product-summary {
    margin-bottom: 20px;
}

.product-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.product-item:last-child {
    border-bottom: none;
}

.product-details h5,
.product-details h6 {
    margin-bottom: 4px;
    color: #fff;
    font-weight: 600;
}

.product-details h6 {
    font-size: 0.95rem;
}

.product-details p {
    font-size: 0.85rem;
    margin-bottom: 2px;
}

.product-price .price {
    font-weight: 700;
    color: #4CAF50;
    font-size: 1.1rem;
}

/* Divider */
.payment-divider {
    border: 0;
    border-top: 1px solid rgba(255,255,255,0.15);
    margin: 24px 0;
}

/* Toplam hesaplama */
.order-total {
    margin-bottom: 20px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    color: rgba(255,255,255,0.9);
}

.total-row.final-total {
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 12px;
    margin-top: 12px;
    margin-bottom: 0;
}

/* Güvenlik notu */
.security-note {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 8px;
    color: #4CAF50;
    font-size: 0.9rem;
}

/* ======== POS SEÇİMİ STİLLERİ ======== */

/* POS Seçimi */
.payment-methods h6 {
    color: #e7e7e7;
    font-weight: 600;
}

.pos-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pos-option {
    position: relative;
}

.pos-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.pos-label {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: rgba(255,255,255,0.04);
    border: 2px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: rgba(255,255,255,0.9);
}

.pos-label:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.15);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.pos-option input[type="radio"]:checked + .pos-label {
    background: rgba(108, 92, 231, 0.15);
    border-color: #6c5ce7;
    color: #fff;
    box-shadow: 0 8px 25px rgba(108, 92, 231, 0.2);
}

/* POS Logo */
.pos-logo {
    width: 60px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 8px;
    padding: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.pos-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: none;
}

/* POS Info */
.pos-info {
    flex: 1;
}

.pos-info h6 {
    margin: 0 0 4px 0;
    font-weight: 700;
    font-size: 1.1rem;
    color: inherit;
}

.pos-info span {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
}

.pos-option input[type="radio"]:checked + .pos-label .pos-info span {
    color: rgba(255,255,255,0.8);
}

/* Disabled pos option styles */
.pos-option.disabled .pos-label {
    opacity: 0.5;
    cursor: not-allowed;
    background: rgba(255,255,255,0.02);
    border-color: rgba(255,255,255,0.05);
}

.pos-option.disabled .pos-label:hover {
    background: rgba(255,255,255,0.02);
    border-color: rgba(255,255,255,0.05);
    transform: none;
    box-shadow: none;
}

.pos-option.disabled input[type="radio"]:disabled + .pos-label {
    cursor: not-allowed;
}

.pos-option.disabled .pos-info span.text-danger {
    color: #dc3545 !important;
    font-weight: 500;
}

/* Ödeme butonu */
.payment-btn {
    background: linear-gradient(45deg, #4CAF50, #45a049);
    border: none;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 16px 24px;
    transition: all 0.3s ease;
    border-radius: 12px;
}

.payment-btn:hover {
    background: linear-gradient(45deg, #45a049, #4CAF50);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(76, 175, 80, 0.3);
}

.payment-btn i {
    margin-right: 8px;
}

/* Terms checkbox */
.terms-check {
    text-align: center;
}

.terms-check .form-check {
    justify-content: center;
}

/* Responsive */
@media (max-width: 991px) {
    .product-info-card {
        position: static;
        margin-bottom: 30px;
        order: 2;
    }
    
    .payment-form-card {
        order: 1;
    }
}

@media (max-width: 576px) {
    .auth-card {
        padding: 22px 16px;
    }
    
    .pos-options {
        gap: 12px;
    }
    
    .pos-label {
        padding: 16px;
        gap: 12px;
    }
    
    .pos-logo {
        width: 50px;
        height: 35px;
    }
    
    .pos-info h6 {
        font-size: 1rem;
    }
    
    .pos-info span {
        font-size: 0.85rem;
    }
    
    .product-item {
        flex-direction: column;
        gap: 8px;
        text-align: left;
    }
    
    .product-price {
        align-self: flex-end;
    }
}