
/* ========== USER ORDERS PAGE ========== */
.user-orders-container {
    padding: 2rem 0;
}
.user-orders-header {
    margin-bottom: 2.5rem;
}
.user-orders-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}
.user-orders-header p {
    color: var(--text-muted);
    font-size: 1.125rem;
}

.user-orders-empty {
    text-align: center;
    padding: 5rem 2rem;
    background: var(--bg-card);
    border-radius: 24px;
    border: 1px solid var(--border-color);
}
.empty-icon {
    width: 5rem;
    height: 5rem;
    background: var(--nav-bg);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}
.empty-icon i { width: 2.5rem; height: 2.5rem; }
.user-orders-empty h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.75rem; }
.user-orders-empty p { color: var(--text-muted); margin-bottom: 2rem; }

.user-orders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}
.user-order-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}
.user-order-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-main);
}
.order-card-image {
    height: 160px;
    background: var(--nav-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}
.order-card-image i { width: 3rem; height: 3rem; opacity: 0.3; }
.order-card-content {
    padding: 1.5rem;
    flex: 1;
}
.order-category {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary);
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}
.order-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-main);
}
.order-meta {
    display: flex;
    gap: 1rem;
    color: var(--text-muted);
    font-size: 0.8125rem;
}
.order-meta span { display: flex; align-items: center; gap: 0.375rem; }
.order-card-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-color);
    background: rgba(0,0,0,0.02);
}
.order-details-btn {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.875rem;
    text-align: left;
}


/* Modal Details - Premium Redesign */
.otokod-modal-overlay {
    backdrop-filter: blur(8px) brightness(0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}


.order-detail-modal {
    max-width: 480px;
    background: rgba(18, 18, 23, 0.9);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 32px;
    padding: 2rem;
    box-shadow: 0 30px 100px -20px rgba(0, 0, 0, 0.8);
    overflow: hidden;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding: 0 0.5rem;
}

.modal-header h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
    letter-spacing: -0.02em;
}

.modal-close {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-close:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.3);
    transform: rotate(90deg) scale(1.1);
}

.order-account-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 0.75rem;
    padding-left: 0.5rem;
}

.copy-input-group {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 18px;
    padding: 1.125rem 1.25rem;
    transition: all 0.2s;
    min-height: 60px;
}

.copy-input-group:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
}

.copyable-data {
    color: #fff;
    font-family: 'JetBrains Mono', monospace;
    font-size: 1rem;
    font-weight: 500;
    user-select: all;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-right: 2rem;
}

.copy-btn {
    position: absolute;
    right: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.copy-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.3);
}

.order-verification-section {
    margin-top: 2rem;
    padding: 2rem 1.5rem 1.5rem;
    background: rgba(14, 165, 233, 0.05);
    border-radius: 28px;
    border: 1px solid rgba(14, 165, 233, 0.1);
}

.verification-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: #0ea5e9;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.spinner {
    width: 1.75rem;
    height: 1.75rem;
    border: 3px solid rgba(14, 165, 233, 0.2);
    border-top-color: #0ea5e9;
    border-radius: 50%;
    animation: spin 0.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

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

.verification-result {
    text-align: center;
    margin-bottom: 1.5rem;
}

.verification-result label {
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #0ea5e9;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.code-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 22px;
    border: 1px solid #0ea5e9;
    box-shadow: 0 0 40px rgba(14, 165, 233, 0.2);
}

#verificationCode {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: 0.3em;
    color: #fff;
    text-shadow: 0 0 25px rgba(14, 165, 233, 0.6);
}

.btn-get-code {
    width: 100%;
    height: 60px;
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    color: #fff;
    border: none;
    border-radius: 20px;
    font-size: 1.125rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.875rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 12px 24px -6px rgba(14, 165, 233, 0.5);
    margin-bottom: 0.5rem;
}

.btn-get-code:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 20px 35px -8px rgba(14, 165, 233, 0.7);
    filter: brightness(1.15);
}

.btn-get-code:active:not(:disabled) {
    transform: translateY(-1px);
}

.btn-get-code:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: #1e293b;
    box-shadow: none;
}

@media (max-width: 576px) {
    .order-detail-modal {
        padding: 1.5rem;
        margin: 1rem;
        border-radius: 24px;
    }
    #verificationCode {
        font-size: 2rem;
    }
}


