/* ===== СТИЛИ ДЛЯ СЕКЦИИ "ДРУГОЕ" ===== */

/* Основные вкладки секции "Другое" */
.tabs-container {
    margin-bottom: 30px;
}

.tabs {
    display: flex;
    gap: 8px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0;
    margin-bottom: 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px 12px 0 0;
    padding: 8px 8px 0 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.tab-btn {
    background: transparent;
    border: none;
    padding: 16px 24px;
    color: var(--text-secondary);
    border-radius: 8px 8px 0 0;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    position: relative;
    min-width: 140px;
    justify-content: center;
    border-bottom: 3px solid transparent;
}

.tab-btn:hover {
    background: rgba(196, 30, 58, 0.05);
    color: var(--primary-color);
}

.tab-btn.active {
    background: white;
    color: var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
    box-shadow: 0 -2px 12px rgba(196, 30, 58, 0.1);
}

.tab-btn i {
    font-size: 16px;
}

/* Контент вкладок */
.tab-content {
    background: white;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    overflow: visible !important;
}

.tab-pane {
    display: none;
    padding: 32px;
    animation: fadeIn 0.3s ease;
    overflow: visible !important;
}

.tab-pane.active {
    display: block;
    overflow: visible !important;
}

/* КРИТИЧЕСКИ ВАЖНО: позволяем dropdown выходить за границы контейнеров */
.issuance-form-container,
.reserve-form-container,
.issuance-form,
.reserve-form {
    overflow: visible !important;
}

.autocomplete-container {
    position: relative;
    overflow: visible !important;
}

/* Стили для справочников */
.directories-section {
    max-width: 100%;
}

.directories-header {
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f1f5f9;
}

.directories-header h3 {
    color: var(--text-primary);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.directories-description {
    color: var(--text-secondary);
    font-size: 16px;
    margin: 0;
}

/* Подвкладки справочников */
.directories-tabs-container {
    margin-bottom: 24px;
}

.directories-tabs {
    display: flex;
    gap: 4px;
    background: #f8fafc;
    padding: 6px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    flex-wrap: wrap;
}

.directories-tab {
    background: transparent;
    border: none;
    padding: 12px 20px;
    color: #64748b;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    flex: 1;
    min-width: 140px;
    justify-content: center;
}

.directories-tab:hover {
    background: rgba(196, 30, 58, 0.1);
    color: var(--primary-color);
}

.directories-tab.active {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 2px 8px rgba(196, 30, 58, 0.3);
}

.directories-tab i {
    font-size: 14px;
}

/* Контент подвкладок справочников */
.directories-content-container {
    background: white;
}

.directories-content {
    display: none;
}

.directories-content.active {
    display: block;
    animation: slideIn 0.3s ease;
}

.directories-section-header {
    margin-bottom: 24px;
}

.directories-section-header h4 {
    color: var(--text-primary);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.directories-section-description {
    color: var(--text-secondary);
    margin: 0;
    font-size: 14px;
}

/* Карточки форм */
.directories-form-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.directories-form-card h5 {
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.directories-form-row {
    display: flex;
    gap: 16px;
    align-items: end;
    flex-wrap: wrap;
}

.directories-form-group {
    flex: 1;
    min-width: 200px;
}

.directories-form-group label {
    display: block;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-size: 14px;
}

.directories-form-group input,
.directories-form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s ease;
    background: white;
}

.directories-form-group input:focus,
.directories-form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.1);
}

/* Кнопки справочников */
.directories-btn {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
}

.directories-btn.primary {
    background: var(--primary-color);
    color: white;
}

.directories-btn.primary:hover {
    background: #a91729;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(196, 30, 58, 0.3);
}

.directories-btn.secondary {
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

.directories-btn.secondary:hover {
    background: #e2e8f0;
    color: var(--text-primary);
}

/* Карточки списков */
.directories-list-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.directories-list-header {
    background: #f8fafc;
    padding: 20px 24px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.directories-list-header h5 {
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.directories-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

/* Список элементов */
.directories-list {
    padding: 24px;
    max-height: 500px;
    overflow-y: auto;
}

/* Карточки элементов */
.directory-item-card {
    background: white;
    border: 1px solid #f1f5f9;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
    transition: all 0.2s ease;
}

.directory-item-card:hover {
    border-color: rgba(196, 30, 58, 0.2);
    box-shadow: 0 2px 8px rgba(196, 30, 58, 0.1);
}

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

.directory-item-main {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.directory-item-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 16px;
}

.directory-item-info {
    flex: 1;
}

.directory-item-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
    font-size: 15px;
}

.directory-item-description {
    color: var(--text-secondary);
    font-size: 13px;
    margin-bottom: 4px;
}

.directory-item-role {
    margin-top: 4px;
}

.role-badge {
    background: var(--primary-color);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
}

/* Действия с элементами */
.directory-item-actions {
    display: flex;
    gap: 8px;
}

.directory-action-btn {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: all 0.2s ease;
}

.directory-action-btn.edit-btn {
    background: #fef3c7;
    color: #d97706;
}

.directory-action-btn.edit-btn:hover {
    background: #fcd34d;
}

.directory-action-btn.delete-btn {
    background: #fecaca;
    color: #dc2626;
}

.directory-action-btn.delete-btn:hover {
    background: #f87171;
    color: white;
}

/* Стили для пользователей */
.users-section {
    max-width: 100%;
}

.users-header {
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f1f5f9;
}

.users-header h3 {
    color: var(--text-primary);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.users-description {
    color: var(--text-secondary);
    font-size: 16px;
    margin: 0;
}

.users-form-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.users-form-card h4 {
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.users-form-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.users-form-group {
    flex: 1;
    min-width: 200px;
}

.users-form-group label {
    display: block;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-size: 14px;
}

.users-form-group input,
.users-form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s ease;
    background: white;
}

.users-form-group input:focus,
.users-form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.1);
}

.users-btn {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
}

.users-btn.primary {
    background: var(--primary-color);
    color: white;
}

.users-btn.primary:hover {
    background: #a91729;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(196, 30, 58, 0.3);
}

.users-btn.secondary {
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

.users-btn.secondary:hover {
    background: #e2e8f0;
    color: var(--text-primary);
}

.users-list-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.users-list-header {
    background: #f8fafc;
    padding: 20px 24px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.users-list-header h4 {
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.users-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.users-search-input {
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    min-width: 200px;
}

.users-search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(196, 30, 58, 0.1);
}

.users-list {
    padding: 24px;
    max-height: 500px;
    overflow-y: auto;
}

/* Стили для импорта/экспорта */
.import-export-section {
    max-width: 100%;
}

.import-export-header {
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f1f5f9;
}

.import-export-header h3 {
    color: var(--text-primary);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.import-export-description {
    color: var(--text-secondary);
    font-size: 16px;
    margin: 0;
}

.import-section,
.export-section {
    margin-bottom: 32px;
}

.import-card,
.export-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.import-card h4,
.export-card h4 {
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.import-card p,
.export-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.file-upload-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px;
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    background: white;
}

.import-btn,
.export-btn,
.template-btn {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.import-btn.primary,
.export-btn.primary {
    background: var(--primary-color);
    color: white;
}

.import-btn.primary:hover,
.export-btn.primary:hover {
    background: #a91729;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(196, 30, 58, 0.3);
}

.template-btn {
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #e2e8f0;
    margin: 4px;
}

.template-btn:hover {
    background: #e2e8f0;
    color: var(--text-primary);
}

.file-info {
    color: var(--text-secondary);
    font-size: 12px;
    text-align: center;
}

.template-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.export-options h5 {
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.export-checkboxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.export-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.export-checkbox:hover {
    background: rgba(196, 30, 58, 0.05);
}

.export-checkbox input {
    margin: 0;
}

.no-items {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary);
    font-size: 14px;
}

.no-items i {
    font-size: 48px;
    color: #d1d5db;
    margin-bottom: 16px;
    display: block;
}

/* Анимации */

/* Адаптивность */
@media (max-width: 768px) {
    .tabs {
        flex-direction: column;
    }

    .tab-btn {
        min-width: auto;
        width: 100%;
    }

    .directories-tabs {
        flex-direction: column;
    }

    .directories-tab {
        min-width: auto;
        width: 100%;
    }

    .directories-form-row,
    .users-form-row {
        flex-direction: column;
    }

    .directories-form-group,
    .users-form-group {
        min-width: auto;
    }

    .directories-list-header,
    .users-list-header {
        flex-direction: column;
        align-items: stretch;
    }

    .directories-actions,
    .users-actions {
        justify-content: space-between;
    }

    .tab-pane {
        padding: 16px;
    }
}


/* Стили для FRU кодов, которых нет в справочнике */
.form-input.fru-not-found {
    color: #e74c3c !important;
    border-color: #e74c3c;
}

.form-input.fru-not-found::placeholder {
    color: #e74c3c;
}

/* Подсказка для FRU не найденного в справочнике */
.fru-warning {
    font-size: 12px;
    color: #e74c3c;
    margin-top: 5px;
    display: flex;
    align-items: center;
}

.fru-warning i {
    margin-right: 5px;
}



/* Pro100Actor | 79779777557 */
/* ===== ДОПОЛНИТЕЛЬНЫЕ КОМПОНЕНТЫ CSS ===== */

/* Стили для кнопок быстрой навигации */
.quick-nav-btn:hover {
    background: #C41E3A !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(196, 30, 58, 0.3);
}

/* Стили для уведомлений */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    z-index: 10000;
    animation: slideIn 0.3s ease-out;
}


/* ===== СТИЛИ СЕКЦИИ ВОЗВРАТОВ ===== */
.return-form-container, .form-container {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 24px;
}

.return-form, .form-grid {
    max-width: 800px;
    display: grid;
    gap: 20px;
}

/* Вкладки возвратов */
.tabs-container {
    margin-bottom: 20px;
}

.tab-content {
    min-height: 500px;
}

.tab-pane {
    animation: fadeIn 0.3s ease-in-out;
}

.tab-pane.active {
    display: block !important;
}

/* Автодополнение для возвратов */
.autocomplete-container {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.dropdown-item {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid #f7fafc;
    transition: background-color 0.2s;
}

.dropdown-item:hover {
    background-color: #f7fafc;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item.no-results {
    color: #a0aec0;
    cursor: default;
}

.dropdown-item.no-results:hover {
    background-color: transparent;
}

/* Чекбоксы для изменения FRU */
.checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: normal;
    margin: 0;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin: 0;
}

/* Формы возвратов */
.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }

    .form-row .form-group:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    margin-bottom: 8px;
    font-weight: 600;
    color: #2d3748;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-input, .form-select {
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: white;
}

.form-input:focus, .form-select:focus {
    outline: none;
    border-color: #C41E3A;
    box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.1);
}

.form-input:disabled, .form-select:disabled {
    background-color: #f7fafc;
    color: #a0aec0;
    cursor: not-allowed;
}

.form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.required {
    color: #e53e3e;
}

.return-history-section, .history-section {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 24px;
}

.history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e2e8f0;
}

.history-header h3 {
    margin: 0;
    color: #2d3748;
}

.history-filter {
    display: flex;
    gap: 10px;
    align-items: center;
}

.history-filter select {
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 14px;
}

.history-table {
    width: 100%;
    border-collapse: collapse;
}

.history-table th, .history-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.history-table th {
    background-color: #f7fafc;
    font-weight: 600;
    color: #718096;
}

.history-table td {
    color: #2d3748;
}

.history-table tbody tr:hover {
    background-color: #f7fafc;
}

.history-table .status-pending {
    color: #ed8936;
    font-weight: 500;
}

.history-table .status-completed {
    color: #48bb78;
    font-weight: 500;
}

.history-table .status-rejected {
    color: #e53e3e;
    font-weight: 500;
}

.history-table .action-button {
    background: none;
    border: none;
    color: #4299e1;
    cursor: pointer;
    font-size: 14px;
}

.history-table .action-button:hover {
    text-decoration: underline;
}

/* Стили для форм создания возврата */
.create-return-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.create-return-form .form-row {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.create-return-form .form-group {
    display: flex;
    flex-direction: column;
}

.create-return-form .form-label {
    margin-bottom: 8px;
    font-weight: 600;
    color: #2d3748;
}

.create-return-form .form-input,
.create-return-form .form-textarea,
.create-return-form .form-select {
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.create-return-form .form-input:focus,
.create-return-form .form-textarea:focus,
.create-return-form .form-select:focus {
    outline: none;
    border-color: #C41E3A;
    box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.1);
}

.create-return-form .form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.create-return-form .btn-primary {
    background-color: #C41E3A;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.create-return-form .btn-primary:hover {
    background-color: #a0182c;
}

.create-return-form .btn-secondary {
    background-color: #e2e8f0;
    color: #4a5568;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.create-return-form .btn-secondary:hover {
    background-color: #cbd5e0;
}

.create-return-form .required {
    color: #e53935;
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

/* Стили для подтверждения возврата */
.return-confirmation {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
}

.return-confirmation i {
    font-size: 48px;
    color: #48bb78;
    margin-bottom: 20px;
}

.return-confirmation h3 {
    font-size: 24px;
    color: #2d3748;
    margin-bottom: 12px;
}

.return-confirmation p {
    font-size: 16px;
    color: #718096;
    max-width: 400px;
    margin-bottom: 30px;
}

.return-confirmation .btn-primary {
    background-color: #C41E3A;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.return-confirmation .btn-primary:hover {
    background-color: #a0182c;
}

.return-confirmation .btn-secondary {
    background-color: transparent;
    color: #4299e1;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: bold;
    border: 1px solid #4299e1;
    transition: all 0.3s;
}

.return-confirmation .btn-secondary:hover {
    background-color: #bee3f8;
    color: #2b6cb1;
}

/* Стили для отмены возврата */
.return-cancellation {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
}

.return-cancellation i {
    font-size: 48px;
    color: #e53e3e;
    margin-bottom: 20px;
}

.return-cancellation h3 {
    font-size: 24px;
    color: #2d3748;
    margin-bottom: 12px;
}

.return-cancellation p {
    font-size: 16px;
    color: #718096;
    max-width: 400px;
    margin-bottom: 30px;
}

.return-cancellation .btn-primary {
    background-color: #C41E3A;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.return-cancellation .btn-primary:hover {
    background-color: #a0182c;
}

.return-cancellation .btn-secondary {
    background-color: transparent;
    color: #718096;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: bold;
    border: 1px solid #e2e8f0;
    transition: all 0.3s;
}

.return-cancellation .btn-secondary:hover {
    background-color: #f7fafc;
}

/* Стили для лоадера */
.loader {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.loader-spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: #C41E3A;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

