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

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    background: #f7f5f0;
    min-height: 100vh;
    padding: 20px;
}

/* Блокировка прокрутки страницы при открытом модальном окне */
body.modal-open {
    overflow: hidden;
}

/* Login Page */
.login-container {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 400px;
    margin: 100px auto;
}

.login-container h1 {
    color: #1e293b;
    margin-bottom: 10px;
    text-align: center;
}

.subtitle {
    color: #64748b;
    text-align: center;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #1e293b;
    font-weight: 600;
    margin-bottom: 8px;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

input[type="text"]:focus,
input[type="password"]:focus {
    outline: none;
    border-color: #667eea;
}

button[type="submit"] {
    width: 100%;
    padding: 12px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

button[type="submit"]:hover {
    background: #5568d3;
}

.error {
    background: #fee2e2;
    color: #dc2626;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 20px;
    text-align: center;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    color: #1e293b;
    padding: 20px 40px;
    border-radius: 16px;
    margin-bottom: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.header-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.header-title {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-subtitle {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 10px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    backdrop-filter: blur(10px);
}

.user-name {
    font-weight: 600;
    font-size: 15px;
    color: white;
}

.logout-btn {
    background: rgba(239, 68, 68, 0.1);
    border: 2px solid rgba(239, 68, 68, 0.2);
    color: #ef4444;
    padding: 10px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logout-btn:hover {
    background: #ef4444;
    color: white;
    border-color: #ef4444;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

/* Main Container */
.main-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 1600px;
    margin: 0 auto;
}

.card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.card-header {
    padding: 24px 30px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.card-title {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-body {
    padding: 30px;
}

/* Card collapsible (кнопка скрыта на десктопе, видна только на мобиле) */
.card-collapse-btn {
    display: none;
}
.card-collapse-chevron {
    display: block;
    transition: transform 0.25s ease;
}

/* Status Card */
.status-card {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 2px solid #86efac;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 15px;
}

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

.status-icon {
    width: 32px;
    height: 32px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.status-text {
    flex: 1;
    color: #166534;
    font-weight: 500;
}

.status-value {
    color: #15803d;
    font-weight: 700;
    white-space: nowrap;
}

/* Download Buttons */
.download-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.download-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 24px;
    border-radius: 12px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.2) 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.download-btn:hover::before {
    opacity: 1;
}

.download-btn:active {
    transform: translateY(-2px);
}

.xlsx-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.xml-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.btn-icon {
    font-size: 36px;
}

.btn-label {
    font-size: 16px;
    font-weight: 700;
}

.btn-sublabel {
    font-size: 12px;
    opacity: 0.9;
    font-weight: 500;
}

/* Admin Button */
.admin-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px;
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.admin-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.4);
}

.admin-button:active {
    transform: translateY(0);
}

/* Info Box */
.info-box {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border: 2px solid #60a5fa;
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
    margin-bottom: 24px;
}

.info-box-title {
    font-size: 14px;
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-item {
    margin-bottom: 8px;
    font-size: 13px;
    color: #1e40af;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.info-item code {
    background: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: #3b82f6;
    border: 1px solid #93c5fd;
}

/* Log Container */
.log-container {
    height: auto;
    min-height: 500px;
    display: flex;
    flex-direction: column;
}

.log-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.auto-refresh {
    color: #64748b;
    font-size: 12px;
    background: #f1f5f9;
    padding: 6px 12px;
    border-radius: 8px;
    font-weight: 500;
    white-space: nowrap;
}

.log-box {
    flex: 1;
    background: #1e293b;
    color: #e2e8f0;
    padding: 20px;
    border-radius: 12px;
    overflow-y: auto;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    white-space: pre-wrap;
    word-wrap: break-word;
    margin-top: 20px;
    margin-bottom: 24px;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.2);
}

.log-box::-webkit-scrollbar {
    width: 8px;
}

.log-box::-webkit-scrollbar-track {
    background: #0f172a;
    border-radius: 4px;
}

.log-box::-webkit-scrollbar-thumb {
    background: #475569;
    border-radius: 4px;
}

.log-box::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

/* ========================================
   MOBILE RESPONSIVE STYLES
   ======================================== */

@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    /* Login Page Mobile */
    .login-container {
        padding: 30px 20px;
        margin: 50px auto;
    }

    .login-container h1 {
        font-size: 22px;
    }

    /* Header Mobile */
    .header {
        padding: 15px 20px;
        border-radius: 12px;
    }

    .header-left {
        width: 100%;
        justify-content: center;
    }

    .logo {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .header-title {
        font-size: 18px;
    }

    .header-subtitle {
        font-size: 11px;
    }

    .header-right {
        width: 100%;
        justify-content: center;
    }

    .user-info {
        padding: 8px 16px;
    }

    .user-avatar {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .user-name {
        font-size: 13px;
    }

    .logout-btn {
        padding: 8px 16px;
        font-size: 13px;
    }

    /* Main Container Mobile - Single Column */
    .main-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* Card Mobile */
    .card-header {
        padding: 16px 20px;
    }

    .card-title {
        font-size: 18px;
    }

    .card-body {
        padding: 20px;
    }

    /* Status Card Mobile */
    .status-card {
        padding: 15px;
    }

    .status-item {
        font-size: 13px;
        gap: 10px;
    }

    .status-icon {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }

    /* Download Buttons Mobile - Stack Vertically */
    .download-buttons {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .download-btn {
        padding: 20px;
    }

    .btn-icon {
        font-size: 32px;
    }

    .btn-label {
        font-size: 15px;
    }

    .btn-sublabel {
        font-size: 11px;
    }

    /* Admin Button Mobile */
    .admin-button {
        padding: 14px;
        font-size: 14px;
    }

    /* Info Box Mobile */
    .info-box {
        padding: 15px;
    }

    .info-box-title {
        font-size: 13px;
    }

    .info-item {
        font-size: 12px;
        gap: 6px;
    }

    .info-item code {
        font-size: 11px;
        padding: 3px 6px;
    }

    /* Log Container Mobile */
    .log-container {
        height: auto;
        min-height: 400px;
    }

    .log-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .auto-refresh {
        font-size: 11px;
        padding: 5px 10px;
    }

    .log-box {
        padding: 15px;
        font-size: 11px;
        min-height: 300px;
    }
}

/* Extra Small Devices (320px - 480px) */
@media (max-width: 480px) {
    .header {
        padding: 12px 15px;
    }

    .header-title {
        font-size: 16px;
    }

    .header-subtitle {
        font-size: 10px;
    }

    .card-title {
        font-size: 16px;
    }

    .status-item {
        font-size: 12px;
    }

    .status-value {
        font-size: 13px;
    }

    .download-btn {
        padding: 16px;
    }

    .btn-icon {
        font-size: 28px;
    }

    .btn-label {
        font-size: 14px;
    }

    .info-box-title {
        font-size: 12px;
    }

    .info-item {
        font-size: 11px;
    }

    .log-box {
        font-size: 10px;
    }
}

/* Landscape Mobile Optimization */
@media (max-width: 768px) and (orientation: landscape) {
    .header {
        padding: 10px 15px;
    }

    .header-left,
    .header-right {
        width: auto;
    }

    .header-right {
        margin-left: auto;
    }

    .log-container {
        min-height: 300px;
    }
}

/* Tablet Styles (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .main-container {
        grid-template-columns: 1fr;
        max-width: 800px;
    }

    .log-container {
        height: auto;
        min-height: 500px;
    }
}

/* Touch Device Optimization */
@media (hover: none) and (pointer: coarse) {
    .download-btn:hover::before {
        opacity: 0;
    }

    .download-btn:hover {
        transform: none;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .logout-btn:hover {
        transform: none;
    }

    .admin-button:hover {
        transform: none;
    }

    /* Better touch targets */
    .download-btn,
    .logout-btn,
    .admin-button,
    button[type="submit"] {
        min-height: 44px;
    }
}
/* Additional styles for dashboard */
.action-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 24px;
    border-radius: 12px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Новые яркие цвета для кнопок */
.edit-btn {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.edit-btn:hover {
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.4);
}

.download-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.download-btn:hover {
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
}

.reprice-btn {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.reprice-btn:hover {
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.4);
}

.export-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.export-btn:hover {
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

.upload-btn {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
}

.upload-btn:hover {
    box-shadow: 0 8px 20px rgba(6, 182, 212, 0.4);
}

.status-error {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border-color: #f87171;
}

.status-error .status-text,
.status-error .status-value {
    color: #991b1b;
}

/* ── Hamburger button (mobile sidebar toggle) ── */
.hamburger-btn {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: rgba(102, 126, 234, 0.1);
    border: 2px solid rgba(102, 126, 234, 0.25);
    border-radius: 12px;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    transition: background 0.2s, border-color 0.2s, transform 0.15s;
}

.hamburger-btn:hover {
    background: rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.5);
    transform: scale(1.05);
}

.hamburger-btn:active {
    transform: scale(0.96);
}

.hamburger-btn span {
    display: block;
    width: 20px;
    height: 2px;
    background: #667eea;
    border-radius: 2px;
    transition: background 0.2s;
}

/* .back-btn kept for JS compatibility but hidden via sidebar.css */
.back-btn {
    display: none !important;
}

.flash-messages {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    max-width: 400px;
}

.alert {
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.alert-success {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
    border: 2px solid #34d399;
}

.alert-danger {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #991b1b;
    border: 2px solid #f87171;
}

.alert-warning {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
    border: 2px solid #fcd34d;
}

.alert-info {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1e40af;
    border: 2px solid #60a5fa;
}

.alert-conflict {
    background: linear-gradient(135deg, #fff7ed 0%, #fed7aa 100%);
    color: #7c2d12;
    border: 2px solid #f97316;
    font-size: 15px;
}

.login-container .logo {
    text-align: center;
    margin-bottom: 30px;
    width: 100%;
    height: auto;
    background: none;
    box-shadow: none;
}

.login-container .logo-icon {
    font-size: 48px;
    margin-bottom: 10px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.login-container .logo h1 {
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 8px;
    font-weight: 700;
}

.login-container .logo-kaspi {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.login-container .logo-editor {
    color: #1e293b;
}

.login-container .logo p {
    color: #64748b;
    font-size: 14px;
    margin-top: 5px;
}

.btn-login {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
}

.btn-login:hover {
    transform: translateY(-2px);
}

/* ============================================ */
/* Глобальное миниатюрное окно (на всех страницах) */
/* ============================================ */

.global-minimized-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
    pointer-events: auto;
    display: flex;
    flex-direction: row;
    gap: 12px;
    flex-wrap: wrap;
    max-width: calc(100vw - 40px);
}

.global-minimized-window {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s;
    animation: globalMinimizedSlideIn 0.3s ease-out;
    min-width: 250px;
}

@keyframes globalMinimizedSlideIn {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.global-minimized-window:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.5);
}

.global-minimized-icon {
    font-size: 24px;
}

.global-minimized-content {
    flex: 1;
}

.global-minimized-title {
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 2px;
}

.global-minimized-subtitle {
    font-size: 12px;
    opacity: 0.9;
}

.global-minimized-close {
    font-size: 20px;
    opacity: 0.8;
    transition: opacity 0.2s;
    padding: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.global-minimized-close:hover {
    opacity: 1;
}

.global-minimized-close img {
    filter: brightness(0) saturate(100%) invert(100%);
}

/* ============================================ */
/* Полноразмерное глобальное модальное окно */
/* ============================================ */

.global-full-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.global-full-modal.active {
    display: flex;
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.global-full-modal-content {
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideUp 0.3s ease-out;
}

@keyframes modalSlideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.global-full-modal-header {
    padding: 24px 30px;
    border-bottom: 2px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.global-modal-title {
    font-size: 20px;
    color: #1e293b;
    font-weight: 700;
    margin: 0;
}

.global-full-modal-close {
    font-size: 28px;
    color: #94a3b8;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.global-full-modal-close:hover {
    color: #ef4444;
}

.global-full-modal-body {
    padding: 30px;
}

.global-modal-info {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #f0f4ff 0%, #f8f4ff 100%);
    border-radius: 12px;
    border: 2px solid #e0e7ff;
}

.global-modal-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.global-modal-subtitle {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 8px 0;
}

.global-modal-description {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

.global-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-global-continue {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-global-continue:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(102, 126, 234, 0.3);
}

.btn-global-cancel {
    width: 100%;
    padding: 12px 24px;
    background: white;
    color: #64748b;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-global-cancel:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #334155;
}

/* ── Page loading screen (warehouse, reprice, kaspi-upload, orders) ── */
.page-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px 20px;
    gap: 14px;
}
.page-spinner {
    width: 42px;
    height: 42px;
    border: 3px solid #e2e8f0;
    border-top-color: #34d399;
    border-radius: 50%;
    animation: page-spin 0.75s linear infinite;
}
@keyframes page-spin { to { transform: rotate(360deg); } }
.page-loading-text {
    font-size: 14px;
    color: #94a3b8;
    font-weight: 500;
}
