:root {
    --primary-color: #FFD700;
    --primary-dark: #FFC700;
    --success-color: #28a745;
    --info-color: #17a2b8;
    --warning-color: #ffc107;
    --text-primary: #333;
    --text-secondary: #666;
    --text-muted: #999;
    --border-color: #e0e0e0;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-light: 0 1px 3px rgba(0,0,0,0.1);
}

/* Сброс стилей */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

footer{
    display: none;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #f5f9ff 0%, #e8f4ff 100%);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Loader экран */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
}

.loader-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.loader-gradient {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 50%, #e1f0ff 100%);
    animation: gradientMove 3s ease-in-out infinite;
}

.loader-content {
    position: relative;
    text-align: center;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(20px);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.loader-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.iron-loader {
    width: 60px;
    height: 60px;
    position: relative;
    margin: 0 auto;
    animation: float 2s ease-in-out infinite;
}

.iron-body {
    width: 50px;
    height: 35px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 5px 5px 15px 15px;
    position: absolute;
    top: 15px;
    left: 5px;
    box-shadow: 0 4px 15px rgba(45, 212, 218, 0.4);
}

.iron-handle {
    width: 20px;
    height: 12px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 6px 6px 0 0;
    position: absolute;
    top: 3px;
    left: 20px;
}

.steam {
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
}

.steam span {
    display: block;
    width: 3px;
    height: 3px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    position: absolute;
    animation: steamRise 1.5s ease-out infinite;
}

.steam span:nth-child(1) { left: 8px; animation-delay: 0s; }
.steam span:nth-child(2) { left: 15px; animation-delay: 0.5s; }
.steam span:nth-child(3) { left: 22px; animation-delay: 1s; }

.loader-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--text-primary), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.loader-text {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Модальные окна */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.auth-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.auth-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.modal-content {
    width: 400px;
    max-width: 90vw;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.modal-header {
    padding: 30px 30px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.modal-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--text-primary), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.modal-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.modal-body {
    padding: 30px;
}

.input-group {
    margin-bottom: 25px;
}

.input-label {
    text-align: center;
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.7);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--border-radius);
    font-size: 16px;
    color: var(--text-primary);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 0 3px rgba(45, 212, 218, 0.1);
}

.phone-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.phone-prefix {
    position: absolute;
    left: 15px;
    font-weight: 600;
    color: var(--text-primary);
    z-index: 1;
}

.phone-wrapper .form-input {
    padding-left: 45px;
}

.sms-inputs {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.sms-digit {
    width: 50px;
    height: 50px;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.7);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.sms-digit:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.05);
}

.error-message {
    margin-top: 8px;
    text-align: center;
    font-size: 12px;
    color: var(--error);
    opacity: 0;
    transform: translateY(-5px);
    transition: all 0.3s ease;
}

.error-message.show {
    opacity: 1;
    transform: translateY(0);
}

.btn {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 4px 15px rgba(45, 212, 218, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 212, 218, 0.4);
}

.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.modal-footer {
    margin-top: 20px;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.link-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 14px;
    cursor: pointer;
    margin: 5px 10px;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.link-btn:hover {
    color: var(--primary-hover);
}

.timer-info {
    margin-top: 15px;
    font-size: 13px;
    color: var(--text-secondary);
}

.timer {
    font-weight: 600;
    color: var(--primary-color);
}

/* Основной контент кабинета */
.cabinet-wrapper {
    min-height: 100vh;
}

.cabinet-header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(45, 212, 218, 0.3);
}

.iron-icon {
    width: 25px;
    height: 20px;
    background: white;
    border-radius: 2px 2px 8px 8px;
    opacity: 0.9;
}

.logo-text h1 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 2px;
}

.logo-text span {
    font-size: 12px;
    color: var(--text-secondary);
}

.user-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.user-info {
    text-align: right;
}

.user-phone {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
}

.user-status {
    font-size: 12px;
    color: var(--text-secondary);
}

.logout-btn {
    padding: 8px 16px;
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid rgba(231, 76, 60, 0.3);
    border-radius: 8px;
    color: var(--error);
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.logout-btn:hover {
    background: rgba(231, 76, 60, 0.2);
    transform: translateY(-1px);
}

.cabinet-main {
    padding: 30px 0;
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

/* Карточки */
.stats-section,
.actions-section,
.orders-section {
    margin-bottom: 30px;
}

.stats-card,
.actions-card,
.orders-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--shadow-light);
    padding: 30px;
    transition: var(--transition);
}

.stats-card:hover,
.actions-card:hover,
.orders-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.stat-item {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.7);
}

.stat-number {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
}

.stat-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 20px;
    opacity: 0.7;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
    border-color: var(--primary-color);
}

.action-icon {
    font-size: 30px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(45, 212, 218, 0.1);
    border-radius: 10px;
}

.action-content h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.action-content p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.orders-list {
    margin-bottom: 20px;
}

.order-item {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 20px;
    align-items: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    margin-bottom: 10px;
    transition: var(--transition);
}

.order-item:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: translateX(5px);
}

.order-number {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.order-date {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.order-items {
    font-size: 14px;
    color: var(--text-primary);
}

.order-status {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
}

.status-completed {
    background: rgba(39, 174, 96, 0.1);
    color: var(--success);
    border: 1px solid rgba(39, 174, 96, 0.3);
}

.status-in-progress {
    background: rgba(243, 156, 18, 0.1);
    color: var(--warning);
    border: 1px solid rgba(243, 156, 18, 0.3);
}

.order-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.show-all-btn {
    width: 100%;
    padding: 12px;
    background: rgba(45, 212, 218, 0.1);
    border: 1px solid rgba(45, 212, 218, 0.3);
    border-radius: var(--border-radius);
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.show-all-btn:hover {
    background: rgba(45, 212, 218, 0.2);
    transform: translateY(-1px);
}

/* Анимации */
@keyframes gradientMove {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes steamRise {
    0% {
        transform: translateY(0px) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    100% {
        transform: translateY(-15px) scale(0.5);
        opacity: 0;
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Скрытие loader'а */
.page-loader.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .actions-grid {
        grid-template-columns: 1fr;
    }
    
    .order-item {
        grid-template-columns: 1fr;
        gap: 10px;
        text-align: center;
    }
    
    .modal-content {
        /* width: 95%; */
        max-width: 321px;
    }
    
    .sms-inputs {
        gap: 8px;
    }
    
    .sms-digit {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .logo-text h1 {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 18px;
    }
    
    .stats-card,
    .actions-card,
    .orders-card {
        padding: 20px;
    }
}




// Это не трогать потом

/* Стили для кнопок оплаты */
.order-payment {
    margin-top: 10px;
}

.btn-pay {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(40, 167, 69, 0.2);
}

.btn-pay:hover {
    background: linear-gradient(135deg, #218838 0%, #1c7a7a 100%);
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.3);
    transform: translateY(-1px);
}

.btn-calculating {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: not-allowed;
    opacity: 0.7;
    box-shadow: none;
}

/* Дополнительные стили для статусов */
.status-unpaid {
    background-color: #ffc107;
    color: #212529;
}

.order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.order-status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    padding-bottom: 100px;
}

/* Header */
.header-cabinet {
    margin-bottom: 30px;
}

.title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.welcome {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.card {
    background: var(--white);
    border-radius: 12px;
    padding: 24px;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease;
}

.card:hover {
    transform: translateY(-2px);
}

.card-icon {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.card h3 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.card-value {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.card-value span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-secondary);
}

.card-subtitle {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    margin-bottom: 12px;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--text-primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.btn-outline:hover {
    background: var(--bg-light);
}

/* Card specific styles */
.bonus-offer, .delivery-info, .loyalty-badge {
    background: rgba(255, 215, 0, 0.1);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.875rem;
    color: var(--text-primary);
    border-left: 3px solid var(--primary-color);
}

.loyalty-badge {
    background: rgba(40, 167, 69, 0.1);
    border-left-color: var(--success-color);
}

/* Orders History */
.orders-history {
    background: var(--white);
    border-radius: 12px;
    padding: 24px;
    box-shadow: var(--shadow);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.section-header h2 {
    font-size: 1.25rem;
    font-weight: 600;
}

.filters {
    display: flex;
    gap: 12px;
}

.filter-select {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--white);
    color: var(--text-primary);
    font-size: 0.875rem;
}

/* Table */
.table-container {
    overflow-x: auto;
    margin-bottom: 24px;
}

.orders-table {
    width: 100%;
    border-collapse: collapse;
}

.orders-table th {
    background: var(--bg-light);
    padding: 12px 16px;
    text-align: left;
    font-weight: 500;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
    white-space: nowrap;
}

.orders-table td {
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: top;
}

.service-name {
    max-width: min-content;
    font-weight: 500;
    margin-bottom: 4px;
}

.service-detail {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Status badges */
.status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
}

.status-completed {
    background: rgba(40, 167, 69, 0.1);
    color: var(--success-color);
}

.status-process {
    background: rgba(23, 162, 184, 0.1);
    color: var(--info-color);
}

.bonus {
    color: var(--primary-color);
    font-weight: 600;
}

.btn-icon {
    padding: 8px;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.btn-icon:hover {
    background: var(--bg-light);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.pagination-btn {
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    background: var(--white);
    color: var(--text-primary);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pagination-btn:hover {
    background: var(--bg-light);
}

.pagination-numbers {
    display: flex;
    gap: 8px;
    align-items: center;
}

.page-number {
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.page-number.active {
    background: var(--primary-color);
    color: var(--text-primary);
    font-weight: 600;
}

.page-number:hover:not(.active) {
    background: var(--bg-light);
}

.page-ellipsis {
    padding: 8px 4px;
    color: var(--text-muted);
}

/* Bottom CTA */
.bottom-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-color);
    padding: 16px 20px;
    z-index: 1000;
}

.btn-cta {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: block;
    background: transparent;
    border: 2px solid var(--text-primary);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
    padding: 16px;
}

.btn-cta:hover {
    background: var(--text-primary);
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 16px;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filters {
        justify-content: stretch;
    }
    
    .filter-select {
        flex: 1;
    }
    
    .orders-table {
        font-size: 0.875rem;
    }
    
    .orders-table th,
    .orders-table td {
        padding: 8px 12px;
    }
    
    .pagination {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 1.5rem;
    }
    
    .card-value {
        font-size: 2rem;
    }
    
    .orders-table th,
    .orders-table td {
        padding: 8px;
    }
}

/* Стили для кнопок оплаты в таблице заказов */
.btn-pay {
    background: #007bff;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-pay:hover {
    background: #0056b3;
    transform: translateY(-1px);
}

.btn-pay:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
}

.btn-paid {
    background: #28a745;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    cursor: default;
    white-space: nowrap;
}

.order-status-cancelled {
    color: #dc3545;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

.btn-info {
    background: #17a2b8;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-info:hover {
    background: #138496;
}

/* Стили для колонки действий */
.orders-table td:last-child {
    text-align: center;
    width: 120px;
    min-width: 120px;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .btn-pay,
    .btn-paid,
    .btn-info {
        padding: 4px 8px;
        font-size: 11px;
    }
    
    .orders-table td:last-child {
        width: 100px;
        min-width: 100px;
    }
}

