/* coinpazari - Ödeme Sayfası Stili */
/* Açık tema - Mevcut site tasarımına uygun */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #f8fafc;
    color: #1e293b;
    min-height: 100vh;
    line-height: 1.6;
}

/* Top Bar */
.top-bar {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    cursor: pointer;
}

.logo-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1e293b;
}

.logo-text span {
    color: #f43f5e;
}

/* Page Logo Responsive */
.page-logo {
    height: 120px; /* Desktop */
}

@media (max-width: 768px) {
    .page-logo {
        height: 100px; /* Mobil */
    }
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.nav-links a:hover {
    color: #f43f5e;
    background-color: #fef2f2;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Page Header */
.page-header {
    text-align: center;
    padding: 2rem 0;
}

.page-title {
    font-size: 2rem;
    font-weight: 800;
    color: #1e293b;
}

.page-title span {
    color: #f43f5e;
}

/* Checkout Grid */
.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .checkout-grid {
        grid-template-columns: 1fr;
    }
}

/* Cards */
.card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.2s ease;
}

.card:hover {
    border-color: #cbd5e1;
}

.card-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f1f5f9;
}

.card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.card-title i {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f43f5e 0%, #ec4899 100%);
    color: #ffffff;
    border-radius: 0.5rem;
    font-size: 1rem;
}

/* User Profile */
.user-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
}

.user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    flex-shrink: 0;
}

.user-info {
    flex: 1;
    min-width: 0;
}

.username {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-label {
    font-size: 0.875rem;
    color: #64748b;
}

/* Order Items */
.order-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 1rem;
    margin-bottom: 0.75rem;
}

.order-item:last-child {
    margin-bottom: 0;
}

.order-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.order-item-name {
    font-weight: 600;
    color: #1e293b;
}

.order-item-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #f43f5e;
}

.order-item-details {
    font-size: 0.875rem;
    color: #64748b;
}

/* Order Summary */
.order-summary {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 1rem;
    margin-top: 1rem;
}

.order-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.order-summary-row:last-child {
    border-bottom: none;
    padding-top: 1rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.order-summary-row:last-child .order-summary-value {
    color: #f43f5e;
    font-size: 1.5rem;
}

.order-summary-value {
    font-weight: 600;
    color: #1e293b;
}

/* Payment Methods */
.payment-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.payment-method {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 1.25rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.payment-method:hover {
    border-color: #f43f5e;
    background: #fff1f2;
}

.payment-method.active {
    border-color: #f43f5e;
    background: #fff1f2;
}

.payment-method.active::after {
    content: '✓';
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 20px;
    height: 20px;
    background: #f43f5e;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.payment-method-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #f43f5e;
}

.payment-method-name {
    font-weight: 600;
    color: #1e293b;
    font-size: 0.875rem;
}

.min-badge {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    background: #fef3c7;
    color: #d97706;
    font-size: 0.625rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-weight: 600;
}

/* Form Elements */
.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    color: #1e293b;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: #f43f5e;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.1);
}

.form-input::placeholder {
    color: #94a3b8;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 480px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Card Label Container */
.card-label-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.accepted-cards {
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
    align-items: center;
}

.accepted-cards img {
    height: 20px;
    max-width: 32px;
    opacity: 0.7;
    transition: all 0.2s ease;
    object-fit: contain;
}

.accepted-cards img:hover {
    opacity: 1;
}

/* Responsive for accepted cards */
@media (max-width: 768px) {
    .accepted-cards img {
        height: 16px;
        max-width: 26px;
    }
}

@media (max-width: 480px) {
    .accepted-cards img {
        height: 14px;
        max-width: 22px;
    }
    
    .accepted-cards {
        gap: 0.25rem;
    }
}

/* Info Row (Bank Details) */
.info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    padding: 0.875rem 1rem;
    margin-bottom: 0.75rem;
}

.info-content {
    flex: 1;
}

.info-content span {
    display: block;
    font-size: 0.75rem;
    color: #64748b;
    margin-bottom: 0.25rem;
}

.info-content strong {
    color: #1e293b;
    font-weight: 600;
}

.copy-btn {
    background: transparent;
    border: none;
    color: #f43f5e;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.copy-btn:hover {
    background: #fff1f2;
}

.copy-text {
    display: inline;
}

@media (max-width: 640px) {
    .copy-text {
        display: none;
    }
}

/* File Upload */
.file-upload-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border: 2px dashed #e2e8f0;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.file-upload-label:hover {
    border-color: #f43f5e;
    background: #fff1f2;
}

.file-upload-btn {
    background: linear-gradient(135deg, #f43f5e 0%, #ec4899 100%);
    color: white;
    padding: 0.625rem 1rem;
    border-radius: 0.375rem;
    font-weight: 600;
    font-size: 0.875rem;
    white-space: nowrap;
}

.file-name {
    color: #64748b;
    font-size: 0.875rem;
}

/* Checkbox Group */
.checkbox-group {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    cursor: pointer;
    margin-bottom: 0.5rem;
    transition: all 0.2s ease;
}

.checkbox-item:hover {
    border-color: #f43f5e;
}

.checkbox-item input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e1;
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.checkbox-item input[type="checkbox"]:checked + .checkbox-custom {
    background: linear-gradient(135deg, #f43f5e 0%, #ec4899 100%);
    border-color: #f43f5e;
}

.checkbox-item input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '✓';
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
}

.checkbox-label {
    font-size: 0.875rem;
    color: #374151;
}

.checkbox-label a {
    color: #f43f5e;
    text-decoration: underline;
}

.masterpass-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.masterpass-label img {
    height: 20px;
}

/* Alert */
.alert {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.alert-info {
    background: #ecfdf5;
    border: 1px solid #10b981;
    color: #065f46;
}

/* Primary Button */
.btn-primary {
    width: 100%;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #f43f5e 0%, #ec4899 100%);
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(244, 63, 94, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Loader */
.loader {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Hidden */
.hidden {
    display: none !important;
}

/* Footer */
footer {
    background: #1e293b;
    padding: 1.5rem;
    text-align: center;
    margin-top: 2rem;
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

/* Toast Notifications */
.toast {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #f43f5e;
    border-radius: 0.75rem;
    padding: 1rem 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: translateX(120%);
    transition: transform 0.3s ease;
    z-index: 1000;
    max-width: 320px;
}

.toast.show {
    transform: translateX(0);
}

.toast-title {
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.toast-desc {
    font-size: 0.875rem;
    color: #64748b;
}

/* Responsive */
@media (max-width: 768px) {
    .top-bar {
        padding: 1rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .page-title {
        font-size: 1.5rem;
    }
    
    .card {
        padding: 1rem;
    }
    
    .user-avatar {
        width: 50px;
        height: 50px;
    }
    
    .username {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    /* Payment methods stay side by side on mobile */
    .payment-methods {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }
    
    .payment-method {
        padding: 0.75rem 0.5rem;
    }
    
    .payment-method-icon {
        font-size: 1.5rem;
        margin-bottom: 0.25rem;
    }
    
    .payment-method-name {
        font-size: 0.75rem;
    }
    
    .user-profile {
        flex-direction: row;
        text-align: left;
    }
    
    .user-avatar {
        width: 45px;
        height: 45px;
    }
    
    .username {
        font-size: 0.9rem;
    }
    
    .order-item-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

