@charset "UTF-8";

/* ==========================================================================
   Blu Panel Pro v2.0 - Complete Multi-Auth & Modern Dashboard
   ========================================================================== */

.blu-auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 85vh;
    padding: 40px 15px;
    direction: rtl;
    box-sizing: border-box;
    background-color: #f8fafc;
    font-family: inherit;
    transition: background 0.3s ease;
}

.blu-auth-container * {
    box-sizing: border-box;
}

.blu-auth-card {
    background: #ffffff;
    width: 100%;
    max-width: 410px;
    border-radius: var(--blu-card-radius, 36px);
    padding: 42px 32px;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.03);
    text-align: center;
    position: relative;
}

.blu-brand-header {
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.blu-brand-logo {
    max-height: 52px;
    max-width: 220px;
    object-fit: contain;
}

.blu-brand-text {
    font-size: 26px;
    font-weight: 900;
    color: #0f172a;
}

.blu-card-intro-text {
    font-size: 13.5px;
    color: #64748b;
    margin-bottom: 22px;
    line-height: 1.6;
    background: #f8fafc;
    padding: 8px 14px;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
}

.blu-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    border: 1.5px solid #e2e8f0;
    border-radius: 18px;
    background: #ffffff;
    transition: all 0.25s ease;
    margin-bottom: 18px;
}

.blu-input-wrapper:focus-within {
    border-color: var(--blu-primary, #2563eb);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
}

.blu-input-wrapper input {
    width: 100%;
    height: 52px;
    border: none !important;
    outline: none !important;
    background: transparent !important;
    padding: 0 46px 0 16px !important;
    font-size: 14.5px !important;
    color: #1e293b !important;
    font-family: inherit !important;
    box-shadow: none !important;
}

.blu-input-icon {
    position: absolute;
    right: 15px;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.blu-captcha-wrapper {
    margin-bottom: 18px;
}

.blu-captcha-display {
    background: #f8fafc;
    border: 1.5px dashed #cbd5e1;
    border-radius: 16px;
    padding: 12px 18px;
    margin-bottom: 12px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    user-select: none;
    transition: all 0.2s ease;
}

.blu-captcha-display:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
}

.blu-captcha-text {
    font-family: "Courier New", Courier, monospace;
    font-size: 27px;
    font-weight: 800;
    letter-spacing: 8px;
    color: #334155;
    text-decoration: line-through;
}

.blu-captcha-refresh {
    font-size: 18px;
    color: #64748b;
}

.blu-btn {
    border: none;
    font-size: 15.5px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    height: 52px;
    text-decoration: none;
    position: relative;
    user-select: none;
}

.blu-btn-block {
    width: 100%;
}

.blu-btn-primary {
    margin-bottom: 14px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.blu-btn-primary:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.blu-btn-arrow {
    transition: transform 0.2s ease;
}

.blu-btn-primary:hover .blu-btn-arrow {
    transform: translateX(-4px);
}

.blu-btn-google {
    background-color: #ffffff;
    color: #1e293b !important;
    border: 1.5px solid #e2e8f0;
    margin-bottom: 10px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.blu-btn-google:hover {
    background-color: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

.blu-link-btn {
    background: transparent;
    border: none;
    color: var(--blu-primary, #2563eb);
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
}

.blu-step2-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding: 0 6px;
}

.blu-timer-text {
    font-size: 13px;
    color: #64748b;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}

.blu-notice {
    margin-top: 20px;
    padding: 13px 18px;
    border-radius: 14px;
    font-size: 13.5px;
    line-height: 1.5;
}

.blu-notice.error {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

.blu-notice.success {
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #15803d;
}

/* ==========================================================================
   داشبورد یکپارچه درونی با آیکون‌های SVG زیبا (Pro Dashboard)
   ========================================================================== */
.blu-pro-dashboard {
    max-width: 1100px;
    margin: 35px auto;
    direction: rtl;
    font-family: inherit;
}

.blu-dash-banner {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1px solid #bfdbfe;
    border-radius: 18px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 25px;
    color: #1e40af;
    font-size: 14px;
    font-weight: 500;
}

.blu-banner-icon {
    font-size: 22px;
}

.blu-dash-banner p {
    margin: 0;
    line-height: 1.6;
}

.blu-dash-grid-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 25px;
}

.blu-dash-sidebar {
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    padding: 24px 18px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    height: fit-content;
}

.blu-user-card {
    text-align: center;
    padding-bottom: 22px;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 18px;
}

.blu-dash-avatar-box {
    position: relative;
    width: 86px;
    height: 86px;
    margin: 0 auto 12px;
}

.blu-dash-avatar {
    width: 86px;
    height: 86px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f1f5f9;
}

.blu-online-indicator {
    position: absolute;
    bottom: 4px;
    left: 4px;
    width: 16px;
    height: 16px;
    background: #10b981;
    border: 3px solid #ffffff;
    border-radius: 50%;
}

.blu-user-name {
    margin: 0 0 4px;
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
}

.blu-user-phone {
    font-size: 13.5px;
    color: #64748b;
    display: block;
    margin-bottom: 10px;
}

.blu-no-phone-tag {
    color: #d97706;
    background: #fef3c7;
    padding: 2px 8px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
}

.blu-user-badge {
    background: rgba(37, 99, 235, 0.1);
    color: var(--blu-primary, #2563eb);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    display: inline-block;
}

.blu-side-nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.blu-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 14px;
    color: #475569;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
    cursor: pointer;
}

.blu-nav-svg-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: inherit;
}

.blu-nav-item:hover, .blu-nav-item.active {
    background: #f8fafc;
    color: var(--blu-primary, #2563eb);
}

.blu-nav-item.active {
    background: rgba(37, 99, 235, 0.08);
}

.blu-badge-count {
    margin-right: auto;
    background: #e2e8f0;
    color: #334155;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
}

.blu-logout-link {
    color: #ef4444 !important;
}

.blu-logout-link:hover {
    background: #fef2f2 !important;
}

.blu-tab-pane {
    display: none;
}

.blu-tab-pane.active {
    display: block;
}

.blu-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}

.blu-stat-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 20px 22px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.blu-stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.orders-bg { background: #eff6ff; color: #2563eb; }
.total-bg  { background: #ecfdf5; color: #059669; }
.wallet-bg { background: #fef3c7; color: #d97706; }

.blu-stat-meta {
    display: flex;
    flex-direction: column;
}

.blu-stat-meta span {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 4px;
}

.blu-stat-meta strong {
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
}

.blu-overview-tiles-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.blu-nav-tile {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 22px 24px;
    display: flex;
    align-items: center;
    gap: 18px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.blu-nav-tile:hover {
    border-color: var(--blu-primary, #2563eb);
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(37, 99, 235, 0.08);
}

.blu-tile-icon-wrap {
    width: 50px;
    height: 50px;
    background: #f8fafc;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e293b;
    transition: all 0.2s ease;
}

.blu-nav-tile:hover .blu-tile-icon-wrap {
    background: var(--blu-primary, #2563eb);
    color: #ffffff;
}

.blu-tile-content {
    flex-grow: 1;
}

.blu-tile-content h4 {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
}

.blu-tile-content p {
    margin: 0;
    font-size: 12.5px;
    color: #64748b;
}

.blu-tile-arrow {
    font-size: 20px;
    color: #94a3b8;
    transition: transform 0.2s ease;
}

.blu-nav-tile:hover .blu-tile-arrow {
    transform: translateX(-5px);
    color: var(--blu-primary, #2563eb);
}

.blu-card-section {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    padding: 26px 28px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.blu-section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 14px;
}

.blu-section-head h4 {
    margin: 0;
    font-size: 16.5px;
    font-weight: 800;
    color: #0f172a;
}

.blu-table {
    width: 100%;
    border-collapse: collapse;
    text-align: right;
}

.blu-table th, .blu-table td {
    padding: 14px 16px;
    font-size: 13.5px;
    border-bottom: 1px solid #f1f5f9;
}

.blu-table th {
    color: #64748b;
    font-weight: 600;
}

.blu-status-tag {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.status-completed { background: #ecfdf5; color: #059669; }
.status-processing { background: #eff6ff; color: #2563eb; }
.status-pending { background: #fffbeb; color: #d97706; }
.status-cancelled, .status-failed { background: #fef2f2; color: #dc2626; }

.blu-btn-sm {
    background: #f1f5f9;
    color: #334155;
    padding: 6px 14px;
    border-radius: 10px;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.blu-btn-sm:hover {
    background: var(--blu-primary, #2563eb);
    color: #fff;
}

.blu-order-items-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px 20px;
    margin: 10px 0;
}

.blu-order-items-box h5 {
    margin: 0 0 10px;
    font-size: 13.5px;
    color: #334155;
}

.blu-order-items-box ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.blu-order-items-box li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed #e2e8f0;
    font-size: 13px;
}

.blu-order-items-box li:last-child {
    border-bottom: none;
}

.blu-downloads-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.blu-downloads-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 16px 20px;
    margin-bottom: 12px;
}

.dl-info strong {
    display: block;
    font-size: 14.5px;
    color: #0f172a;
    margin-bottom: 3px;
}

.dl-info span {
    font-size: 12.5px;
    color: #64748b;
}

.dl-btn {
    height: 42px;
    padding: 0 20px;
    font-size: 13.5px;
    margin-bottom: 0 !important;
}

.blu-empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #94a3b8;
}

.blu-empty-state svg {
    margin-bottom: 10px;
    opacity: 0.6;
}

.blu-field-box {
    display: flex;
    flex-direction: column;
}

.blu-field-box label {
    font-size: 13.5px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}

.blu-field-box input {
    height: 48px;
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    padding: 0 14px;
    font-size: 14px;
}

.blu-full-width {
    grid-column: 1 / -1;
    margin-top: 10px;
}

#blu-profile-msg, #blu-address-msg {
    margin-top: 15px;
    font-size: 14px;
    font-weight: 600;
}

@media (max-width: 900px) {
    .blu-dash-grid-layout { grid-template-columns: 1fr; }
    .blu-stats-row { grid-template-columns: 1fr; }
    .blu-overview-tiles-grid { grid-template-columns: 1fr; }
}
