/* BinsTurkey - Stripe-inspired Clean Design */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #fafbfc;
    color: #32325d;
    line-height: 1.6;
    width: 100%;
    overflow-x: hidden;
    min-width: 320px;
    padding-top: 73px; /* Header height için space */
}

/* Login/Register page background with snow animation */
.auth-background {
    background: #fafbfc;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 0; /* Override body padding for auth pages */
}

/* Snow animation */
.snow {
    position: absolute;
    top: -100px;
    width: 100%;
    height: 120vh;
    pointer-events: none;
    z-index: 1;
}

.snowflake {
    position: absolute;
    color: #32325d;
    user-select: none;
    pointer-events: none;
    font-size: 8px;
    animation: snowfall linear infinite;
}

@keyframes snowfall {
    from {
        transform: translateY(-100px) rotate(0deg);
    }
    to {
        transform: translateY(calc(100vh + 100px)) rotate(360deg);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: #fff;
    border-bottom: 1px solid #e6ebf1;
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
}

.header .header-content {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 16px 20px !important;
    background: white !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    font-weight: 600;
    color: #32325d;
    text-decoration: none;
}

.logo-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    color: #525f7f;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.nav-link:hover {
    color: #32325d;
    background-color: #f6f9fc;
}

.nav-link.active {
    color: #32325d;
    background-color: #f6f9fc;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #525f7f;
    font-size: 14px;
}

.balance {
    background: #f6f9fc;
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: 600;
    color: #32325d;
    text-decoration: none;
    transition: all 0.2s ease;
}

.balance:hover {
    background: #e6f3ff;
    color: #1e40af;
    text-decoration: none;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.user-profile:hover {
    background: #e9ecef;
}

.user-avatar {
    width: 32px;
    height: 32px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    border: 2px solid #e9ecef;
}

.username {
    font-weight: 600;
    color: #32325d;
    font-size: 14px;
}

.telegram-button {
    background: #0088cc;
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: background 0.2s ease;
}

.telegram-button:hover {
    background: #0077b3;
    text-decoration: none;
}

.cart-button {
    position: relative;
    background: #000;
    color: #fff;
    border: none;
    padding: 10px 16px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cart-count {
    background: #ff4757;
    color: #fff;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

/* Main Layout */
.main-layout {
    display: flex;
    min-height: calc(100vh - 73px);
}

.sidebar {
    width: 240px;
    background: #fff;
    border-right: 1px solid #e6ebf1;
    padding: 24px 0;
    position: fixed;
    top: 80px;
    left: 0;
    bottom: 0;
    overflow-y: auto;
    z-index: 100;
}

.sidebar-menu {
    list-style: none;
}

.sidebar-menu li {
    margin: 0;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    color: #525f7f;
    text-decoration: none;
    font-weight: 500;
}

.sidebar-menu a svg {
    flex-shrink: 0;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
    color: #32325d;
    background-color: #f6f9fc;
    border-right: 2px solid #000;
    transition: none;
}

.sidebar-divider {
    height: 1px;
    background: #e6ebf1;
    margin: 12px 24px;
    border: none;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #32325d;
    cursor: pointer;
    padding: 8px;
    margin-right: 12px;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.mobile-menu-btn:hover {
    background-color: #f6f9fc;
}

/* Mobile Sidebar Overlay */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sidebar-overlay.overlay-active {
    display: block;
    opacity: 1;
}

/* Mobile Sidebar Header */
.sidebar-header {
    display: none;
    padding: 20px 24px;
    border-bottom: 1px solid #e6ebf1;
    background: #fafbfc;
}

.sidebar-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: #f6f9fc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8898aa;
}

.user-details {
    flex: 1;
}

.user-name {
    font-size: 14px;
    font-weight: 600;
    color: #32325d;
    margin-bottom: 2px;
}

.user-balance {
    font-size: 12px;
    color: #8898aa;
}

.sidebar-close {
    background: none;
    border: none;
    color: #8898aa;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.sidebar-close:hover {
    background: #e6ebf1;
    color: #32325d;
}

/* Profile Grid */
.profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

/* Filter Buttons */
.filter-buttons {
    display: flex;
    gap: 8px;
    align-items: center;
}

.content {
    flex: 1;
    padding: 24px;
    margin-left: 240px;
}

/* Cards */
.card {
    background: #fff;
    border: 1px solid #e6ebf1;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.card-header {
    margin-bottom: 20px;
}

.card-title {
    font-size: 20px;
    font-weight: 600;
    color: #32325d;
    margin-bottom: 8px;
}

.card-subtitle {
    color: #8898aa;
    font-size: 14px;
}

/* Dashboard Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.stat-card {
    background: #fff;
    border: 1px solid #e6ebf1;
    border-radius: 8px;
    padding: 24px;
    text-align: center;
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: #32325d;
    margin-bottom: 8px;
}

.stat-label {
    color: #8898aa;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
    font-size: 14px;
}

.btn-primary {
    background: #000;
    color: #fff;
}

.btn-primary:hover {
    background: #1a1a1a;
}

.btn-secondary {
    background: #f6f9fc;
    color: #525f7f;
    border: 1px solid #e6ebf1;
}

.btn-secondary:hover {
    background: #e6ebf1;
    color: #32325d;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 4px;
}

.btn-danger {
    background: #ff4757;
    color: #fff;
}

.btn-danger:hover {
    background: #ff3742;
}

.btn-sm {
    padding: 8px 12px;
    font-size: 12px;
}

/* Tables */
/* Table Responsive Wrapper */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 8px;
    margin-top: 16px;
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0;
    margin-bottom: 0;
}

.table th,
.table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e6ebf1;
}

.table th {
    font-weight: 600;
    color: #32325d;
    background: #f6f9fc;
}

.table td {
    color: #525f7f;
}

.table tbody tr:hover {
    background: #fafbfc;
}

/* Badge styles */
.badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-credit { background: #e3f2fd; color: #1565c0; }
.badge-debit { background: #e8f5e8; color: #2e7d32; }
.badge-prepaid { background: #fff3e0; color: #ef6c00; }

/* Stock badge */
.stock-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.stock-available { background: #e8f5e8; color: #2e7d32; }
.stock-empty { background: #ffebee; color: #c62828; }

/* Price text */
.price-text {
    color: #2e7d32;
    font-size: 16px;
}

/* Text utilities */
.text-muted {
    color: #8898aa;
    font-size: 12px;
}

/* BIN Cards */
.bin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.bin-card {
    background: #fff;
    border: 1px solid #e6ebf1;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.2s ease;
}

.bin-card:hover {
    border-color: #c4c4c4;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.bin-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.bin-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: #32325d;
    margin-bottom: 4px;
}

.bin-info p {
    color: #8898aa;
    font-size: 14px;
}

.bin-price {
    font-size: 20px;
    font-weight: 700;
    color: #32325d;
}

.bin-details {
    margin-bottom: 16px;
}

.bin-detail {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
}

.bin-detail span:first-child {
    color: #8898aa;
}

.bin-detail span:last-child {
    color: #32325d;
    font-weight: 500;
}

.stock-info {
    background: #f6f9fc;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 16px;
    text-align: center;
    font-size: 14px;
    color: #525f7f;
}

.stock-count {
    font-weight: 600;
    color: #32325d;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #32325d;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #e6ebf1;
    border-radius: 6px;
    font-size: 14px;
    color: #32325d;
    background: #fff;
}

.form-control:focus {
    outline: none;
    border-color: #000;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}

/* Alerts */
.alert {
    padding: 16px;
    border-radius: 6px;
    margin-bottom: 20px;
    border: 1px solid transparent;
}

.alert-success {
    background: #f0f9f0;
    color: #2d6a2d;
    border-color: #c3e6c3;
}

.alert-error {
    background: #fdf2f2;
    color: #c53030;
    border-color: #fbb6b6;
}

.alert-info {
    background: #f0f8ff;
    color: #2b5a87;
    border-color: #b8daff;
}

/* Cart */
.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid #e6ebf1;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-total {
    background: #f6f9fc;
    padding: 20px;
    border-radius: 6px;
    margin-top: 20px;
    text-align: right;
}

.cart-total-amount {
    font-size: 24px;
    font-weight: 700;
    color: #32325d;
}

/* Footer */
.footer {
    background: #fff;
    border-top: 1px solid #e6ebf1;
    padding: 24px 0;
    margin-top: 48px;
    color: #8898aa;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-evenly;
    align-items: start;
    flex-wrap: wrap;
    gap: 40px;
    text-align: center;
}

.footer-section {
    flex: 1;
    min-width: 200px;
}

.footer-section h4 {
    color: #32325d;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
}

.footer-section p {
    color: #8898aa;
    font-size: 13px;
    line-height: 1.4;
    margin: 0;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 12px;
    text-align: center;
}

.footer-links-grid a {
    color: #8898aa;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s ease;
}

.footer-links-grid a:hover {
    color: #32325d;
    text-decoration: none;
}

.contact-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #0088cc;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s ease;
}

.contact-link:hover {
    color: #0077b3;
    text-decoration: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    /* Show mobile menu button */
    .mobile-menu-btn {
        display: block;
    }
    
    /* Hide desktop-only elements */
    .desktop-only {
        display: none !important;
    }
    
    /* Show mobile-only elements */
    .mobile-only {
        display: block !important;
    }
    
    /* Header adjustments */
    .header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 999;
        width: 100%;
        box-sizing: border-box;
    }
    
    .header-content {
        gap: 8px;
        padding: 10px 12px !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100%;
        box-sizing: border-box;
        max-width: 100vw;
        overflow: hidden;
    }
    
    .header .header-content {
        justify-content: space-between !important;
        display: flex !important;
    }
    
    .mobile-menu-btn {
        margin-right: 0;
        flex-shrink: 0;
        padding: 8px;
        min-width: 36px;
        min-height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .logo {
        flex: 1;
        text-align: left;
        margin: 0 8px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 16px;
        min-width: 0;
        justify-content: flex-start;
    }
    
    .logo .logo-icon {
        width: 20px;
        height: 20px;
    }
    
    .header-nav {
        gap: 4px;
        flex-shrink: 0;
        display: flex;
        align-items: center;
    }
    
    .user-info {
        gap: 4px;
        display: flex;
        align-items: center;
        flex-shrink: 0;
    }
    
    .balance {
        font-size: 14px;
        padding: 6px 10px;
        white-space: nowrap;
    }
    
    .user-profile {
        display: flex;
        align-items: center;
        gap: 4px;
        min-width: 0;
    }
    
    .user-profile .username {
        font-size: 13px;
        max-width: 80px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    .user-avatar {
        width: 24px;
        height: 24px;
        flex-shrink: 0;
    }
    
    .cart-button {
        font-size: 14px;
        padding: 6px 8px;
        min-width: 50px;
        display: flex;
        align-items: center;
        gap: 4px;
    }
    
    .cart-text {
        display: none;
    }
    
    .telegram-button {
        padding: 6px 8px;
        min-width: 32px;
        min-height: 32px;
    }
    
    .user-profile {
        padding: 4px 8px;
    }
    
    .user-avatar {
        width: 28px;
        height: 28px;
    }
    
    .username {
        display: none;
    }
    
    .cart-text {
        display: none;
    }
    
    .cart-button {
        min-width: auto;
        padding: 8px 12px;
    }
    
    /* Sidebar mobile styles */
    .sidebar {
        position: fixed;
        top: 0;
        left: -280px;
        width: 280px;
        height: 100vh;
        z-index: 1001;
        background: white;
        transition: left 0.3s ease;
        overflow-y: auto;
        border-right: 1px solid #e6ebf1;
    }
    
    .sidebar.sidebar-open {
        left: 0;
    }
    
    .sidebar-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    /* Content adjustments */
    .content {
        margin-left: 0;
        padding: 16px;
    }
    
    .main-layout {
        flex-direction: column;
    }
    
    /* Grid adjustments */
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .bin-grid {
        grid-template-columns: 1fr;
    }
    
    .profile-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    /* Table responsive */
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: 8px;
        margin: -1px;
    }
    
    .table {
        min-width: 800px;
        margin-bottom: 0;
    }
    
    /* Form adjustments */
    .form-row {
        flex-direction: column;
    }
    
    .form-row .form-group {
        margin-bottom: 16px;
    }
    
    /* Filter buttons mobile */
    .filter-buttons {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }
    
    .filter-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Pagination mobile */
    .pagination-container {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .pagination-btn {
        min-width: 40px;
        padding: 8px 12px;
    }
}

/* Timer */
.timer {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
    padding: 12px;
    border-radius: 6px;
    text-align: center;
    font-weight: 600;
    margin-bottom: 16px;
}

.timer-small {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 600;
    white-space: nowrap;
}

/* Card reveal */
.card-revealed {
    background: #f8f9fa;
    border: 2px solid #28a745;
    border-radius: 8px;
    padding: 20px;
    margin: 16px 0;
}

.card-number {
    font-family: 'Courier New', monospace;
    font-size: 18px;
    font-weight: bold;
    color: #32325d;
    letter-spacing: 2px;
}

/* Status badges */
.status-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-purchased { background: #e3f2fd; color: #1565c0; }
.status-revealed { background: #fff3e0; color: #ef6c00; }
.status-checking { background: #f3e5f5; color: #7b1fa2; }
.status-checked_live { background: #e8f5e8; color: #2e7d32; }
.status-checked_dead { background: #ffebee; color: #c62828; }
.status-refunded { background: #f1f8e9; color: #558b2f; }

/* User status badges */
.status-active { background: #e8f5e8; color: #2e7d32; }
.status-suspended { background: #fff3e0; color: #ef6c00; }
.status-banned { background: #ffebee; color: #c62828; }

/* Role badges */
.badge-primary { background: #e3f2fd; color: #1565c0; }
.badge-secondary { background: #f5f5f5; color: #525f7f; }

/* Loading animation */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.spin {
    animation: spin 1s linear infinite;
}

@keyframes pulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.05); }
    100% { opacity: 1; transform: scale(1); }
}

/* Announcement Styles */
.announcement {
    padding: 20px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    border: 1px solid #e6ebf1;
    position: relative;
}

.announcement-info {
    background: linear-gradient(135deg, #fff 0%, #f8fbff 100%);
    border-color: #e3f2fd;
}

.announcement-success {
    background: linear-gradient(135deg, #fff 0%, #f0f9f4 100%);
    border-color: #e8f5e8;
}

.announcement-warning {
    background: linear-gradient(135deg, #fff 0%, #fef9e7 100%);
    border-color: #fef4e6;
}

.announcement-error {
    background: linear-gradient(135deg, #fff 0%, #fdf2f2 100%);
    border-color: #fde8e8;
}

.announcement-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.announcement-header h3 {
    color: #32325d;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.announcement-icon {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    color: white;
    flex-shrink: 0;
}

.announcement-info .announcement-icon {
    background: #3498db;
}

.announcement-success .announcement-icon {
    background: #2ecc71;
}

.announcement-warning .announcement-icon {
    background: #f39c12;
}

.announcement-error .announcement-icon {
    background: #e74c3c;
}

.announcement-date {
    font-size: 11px;
    color: #8898aa;
    white-space: nowrap;
    margin-left: 16px;
    background: rgba(136, 152, 170, 0.1);
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 500;
}

.announcement p {
    color: #525f7f;
    line-height: 1.6;
    margin: 0;
}

.badge-info { background: #3498db; color: white; }
.badge-success { background: #2ecc71; color: white; }
.badge-warning { background: #f39c12; color: white; }
.badge-error { background: #e74c3c; color: white; }

/* Text colors */
.text-success { color: #2ecc71 !important; }
.text-danger { color: #e74c3c !important; }
.text-muted { color: #8898aa !important; }

/* Alert styles */
.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid;
    display: flex;
    align-items: center;
    gap: 8px;
}

.alert-success {
    background: #f0f9f4;
    border-color: #2ecc71;
    color: #27ae60;
}

.alert-error {
    background: #fdf2f2;
    border-color: #e74c3c;
    color: #c0392b;
}

.alert-info {
    background: #f8fbff;
    border-color: #3498db;
    color: #2980b9;
}

.alert-warning {
    background: #fef9e7;
    border-color: #f39c12;
    color: #e67e22;
}

/* Crypto Payment Styles */
.crypto-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-top: 8px;
}

.crypto-option {
    position: relative;
}

.crypto-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.crypto-label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
}

.crypto-label:hover {
    border-color: #3b82f6;
    background: #f8fbff;
}

.crypto-option input[type="radio"]:checked + .crypto-label {
    border-color: #3b82f6;
    background: #f8fbff;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.crypto-icon {
    font-size: 24px;
    font-weight: bold;
    color: #f59e0b;
    min-width: 32px;
    text-align: center;
}

.crypto-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.crypto-info strong {
    color: #1f2937;
    font-size: 14px;
}

.crypto-symbol {
    color: #6b7280;
    font-size: 12px;
}

.payment-info {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.payment-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #e1e8ed;
}

.payment-row:last-child {
    border-bottom: none;
}

.payment-row .label {
    font-weight: 500;
    color: #6b7280;
}

.payment-row .value {
    font-weight: 600;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 8px;
}

.wallet-info {
    margin: 20px 0;
}

.wallet-address {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.wallet-address input {
    flex: 1;
    font-family: 'Courier New', monospace;
    font-size: 12px;
}

.qr-code {
    text-align: center;
    margin: 20px 0;
}

.qr-image {
    max-width: 200px;
    height: auto;
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    padding: 10px;
    background: #fff;
}

.payment-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.status-waiting {
    background: #fef3cd;
    color: #92400e;
}

.status-confirming {
    background: #dbeafe;
    color: #1e40af;
}

.status-confirmed {
    background: #d1fae5;
    color: #065f46;
}

.status-failed {
    background: #fee2e2;
    color: #991b1b;
}

.status-expired {
    background: #f3f4f6;
    color: #374151;
}

.status-refunded {
    background: #fef3cd;
    color: #92400e;
}

.balance-info {
    background: #f8fbff;
    border: 1px solid #dbeafe;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
}

.balance-info p {
    margin: 4px 0;
    color: #1e40af;
}

.balance-info strong {
    color: #1f2937;
}

/* Loading Page */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.page-loader.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loader-content {
    text-align: center;
}

.loader-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f1f5f9;
    border-top: 3px solid #32325d;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 24px;
}

.loader-text {
    color: #32325d;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.loader-subtext {
    color: #8898aa;
    font-size: 14px;
}

.loader-dots {
    display: inline-block;
}

.loader-dots::after {
    content: '';
    animation: dots 1.5s infinite;
}

@keyframes dots {
    0%, 20% { content: ''; }
    40% { content: '.'; }
    60% { content: '..'; }
    80%, 100% { content: '...'; }
}

/* Card Level Badge Styles */
.level-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.level-b2b { background: linear-gradient(135deg, #667eea, #764ba2); }
.level-business { background: linear-gradient(135deg, #f093fb, #f5576c); }
.level-classic { background: linear-gradient(135deg, #4facfe, #00f2fe); }
.level-commercial { background: linear-gradient(135deg, #43e97b, #38f9d7); }
.level-corporate { background: linear-gradient(135deg, #fa709a, #fee140); }
.level-electron { background: linear-gradient(135deg, #a8edea, #fed6e3); color: #333; }
.level-enhanced { background: linear-gradient(135deg, #ff9a9e, #fecfef); color: #333; }
.level-gold { background: linear-gradient(135deg, #ffd700, #ffb347); }
.level-infinite { background: linear-gradient(135deg, #000000, #434343); }
.level-mixed-product { background: linear-gradient(135deg, #ff6b6b, #4ecdc4); }
.level-personal { background: linear-gradient(135deg, #74b9ff, #0984e3); }
.level-personal-core { background: linear-gradient(135deg, #81ecec, #00b894); }
.level-platinum { background: linear-gradient(135deg, #c0c0c0, #8e8e93); }
.level-preferred-business { background: linear-gradient(135deg, #6c5ce7, #a29bfe); }
.level-prepaid { background: linear-gradient(135deg, #fd79a8, #fdcb6e); }
.level-prepaid-business { background: linear-gradient(135deg, #e17055, #f39c12); }
.level-prepaid-classic { background: linear-gradient(135deg, #00cec9, #55a3ff); }
.level-prepaid-electron { background: linear-gradient(135deg, #ffeaa7, #fab1a0); color: #333; }
.level-prepaid-employee-incentive { background: linear-gradient(135deg, #fd79a8, #e84393); }
.level-prepaid-payroll { background: linear-gradient(135deg, #00b894, #00cec9); }
.level-prepaid-reloadable { background: linear-gradient(135deg, #fdcb6e, #e17055); }
.level-prepaid-workplace-b2b { background: linear-gradient(135deg, #a29bfe, #6c5ce7); }
.level-proprietary-atm { background: linear-gradient(135deg, #636e72, #2d3436); }
.level-purchasing { background: linear-gradient(135deg, #00b894, #55a3ff); }
.level-sears { background: linear-gradient(135deg, #d63031, #74b9ff); }
.level-signature { background: linear-gradient(135deg, #2d3436, #636e72); }
.level-standard { background: linear-gradient(135deg, #74b9ff, #0984e3); }
.level-uatp { background: linear-gradient(135deg, #e17055, #f39c12); }
.level-world { background: linear-gradient(135deg, #6c5ce7, #fd79a8); }
.level-world-black { background: linear-gradient(135deg, #000000, #2d3436); }

/* Pagination Styles */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 6px 12px;
    border: 1px solid #e3e8ee;
    border-radius: 6px;
    background: #fff;
    color: #32325d;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
}

.pagination-btn:hover {
    border-color: #8898aa;
    color: #8898aa;
    background: #f8f9fa;
}

.pagination-btn.pagination-active {
    background: #000;
    color: white;
    border-color: #000;
}

.pagination-btn.pagination-disabled {
    background: #f8f9fa;
    color: #8898aa;
    border-color: #e3e8ee;
    cursor: not-allowed;
}

.pagination-btn.pagination-disabled:hover {
    background: #f8f9fa;
    color: #8898aa;
    border-color: #e3e8ee;
}

.pagination-dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    color: #8898aa;
    font-weight: bold;
}

@media (max-width: 768px) {
    /* Footer mobile adjustments */
    .footer {
        padding: 24px 16px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        align-items: center;
        justify-content: center;
    }
    
    .footer-section {
        min-width: auto;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
    }
    
    .footer-section h4 {
        text-align: center;
        margin-bottom: 12px;
        width: 100%;
    }
    
    .footer-section p {
        text-align: center;
        width: 100%;
        margin: 0 auto;
    }
    
    /* Hızlı Linkler mobilde 2x2 grid korunur */
    .footer-links-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px 16px;
        justify-content: center;
        max-width: 200px;
        margin: 0 auto;
    }
    
    .footer-links-grid a {
        text-align: center;
        font-size: 14px;
    }
    
    /* İletişim bölümü ortalanır */
    .footer-contact {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }
    
    .contact-link {
        justify-content: center;
        align-items: center;
        margin: 0 auto;
    }
}
