* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', 'Oxygen', 'Ubuntu', sans-serif;
}

body {
    background: #f5f5f5;
    min-height: 100vh;
    padding: 20px;
    color: #323c40;
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100vw;
}

body.loading {
    overflow: hidden;
}

body.loading .container {
    opacity: 0;
    visibility: hidden;
}

/* Анимация загрузки */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f8f9fa;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    text-align: center;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #e8ecef;
    border-top-color: #00c330;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.loader-text {
    color: #6c757d;
    font-size: 16px;
    font-weight: 500;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.container {
    max-width: 1600px;
    width: 100%;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin: 0 auto;
    border: 1px solid #e8ecef;
}

.header {
    background: #323c40;
    color: #ffffff;
    padding: 24px 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(50, 60, 64, 0.15);
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.header::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.1"><polygon points="0,0 100,50 0,100" fill="white"/></svg>') no-repeat;
    background-size: contain;
    pointer-events: none;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    position: relative;
    z-index: 1;
    width: 100%;
}

.header-logo {
    height: 45px;
    width: auto;
    filter: brightness(0) invert(1);
}

.header-text {
    flex: 1;
}

.header h1 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 4px;
    letter-spacing: -0.02em;
}

.header .subtitle {
    font-size: 14px;
    opacity: 0.9;
    font-weight: 400;
}

.progress-steps {
    display: flex;
    background: #fff;
    padding: 0;
    border-bottom: 1px solid #e8ecef;
    position: relative;
}

.step {
    display: flex;
    align-items: center;
    color: #6c757d;
    font-weight: 500;
    padding: 20px 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    position: relative;
    flex: 1;
    border-bottom: 3px solid transparent;
}

.step:hover {
    color: #00c330;
    background: #f8f9fa;
}

.step.active {
    color: #00c330;
    border-bottom-color: #00c330;
    background: #f0f9f2;
}

.step-number {
    width: 28px;
    height: 28px;
    background: #6c757d;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.step.active .step-number {
    background: #00c330;
    transform: scale(1.05);
}

.tab-content {
    display: none;
    background: #fff;
    min-height: 500px;
}

.tab-content.active {
    display: block;
}

.tab-content-inner {
    padding: 40px;
    width: 100%;
}

/* Стили форм в стиле ЧЗ */
.form-section {
    background: white;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 24px;
    border: 1px solid #e8ecef;
}

/* Адаптивность для форм на маленьких экранах */
@media (max-width: 1440px) {
    .form-section {
        padding: 24px 20px;
    }
}

.form-title {
    color: #00c330;
    font-size: 22px;
    margin-bottom: 24px;
    font-weight: 600;
    text-align: left;
    letter-spacing: -0.02em;
}

.form-group {
    margin-bottom: 24px;
    position: relative;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: #2c3e50;
    font-weight: 600;
    font-size: 14px;
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e8ecef;
    border-radius: 6px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: white;
    color: #333;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: #00c330;
    box-shadow: 0 0 0 3px rgba(0, 84, 166, 0.1);
}

.form-input.loading {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" stroke="%230054a6" stroke-width="8" fill="none" stroke-dasharray="60 140"><animate attributeName="stroke-dashoffset" values="0;-200" dur="1s" repeatCount="indefinite"/></circle></svg>');
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 20px;
}

.confirm-btn {
    width: auto;
    min-width: 200px;
    background: #00c330;
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
    display: inline-block;
}

.confirm-btn:hover {
    background: #00a028;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 195, 48, 0.3);
}

.confirm-btn:disabled {
    background: #a0aec0;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Списки компаний */
.companies-list {
    margin-top: 12px;
    border: 1px solid #e8ecef;
    border-radius: 6px;
    overflow: hidden;
    display: none;
    max-height: 200px;
    overflow-y: auto;
}

.companies-list.visible {
    display: block;
}

.company-item {
    padding: 16px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: all 0.2s ease;
    background: white;
}

.company-item:hover {
    background-color: #f0f7ff;
}

.company-item.selected {
    background-color: #e6f2ff;
    border-left: 4px solid #00c330;
}

.company-name {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 6px;
    font-size: 15px;
}

.company-details {
    color: #666;
    font-size: 13px;
    line-height: 1.4;
}

.company-inn {
    display: inline-block;
    background: #00c330;
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    margin-right: 8px;
    font-weight: 500;
}

/* Ручной ввод */
.manual-input-section {
    background: #fff8e6;
    border: 1px solid #ffeaa7;
    border-radius: 6px;
    padding: 20px;
    margin-top: 16px;
    display: none;
}

.manual-input-section.visible {
    display: block;
}

.manual-input-title {
    font-weight: 600;
    color: #856404;
    margin-bottom: 8px;
    font-size: 15px;
}

.manual-input-description {
    color: #856404;
    font-size: 13px;
    margin-bottom: 16px;
}

.manual-input-btn {
    background: #ffc107;
    color: #856404;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.manual-input-btn:hover {
    background: #e0a800;
}

.manual-input-form {
    display: none;
    margin-top: 16px;
}

.manual-input-form.visible {
    display: block;
}

.manual-input-actions {
    margin-top: 16px;
    display: flex;
    gap: 12px;
}

.manual-confirm-btn {
    background: #28a745;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    font-size: 14px;
}

.manual-confirm-btn:hover {
    background: #218838;
}

.cancel-btn {
    background: #6c757d;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.cancel-btn:hover {
    background: #5a6268;
}

/* Форма товара */
.product-form {
    background: white;
    border-radius: 8px;
    padding: 30px;
    border: 1px solid #e8ecef;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

/* Обеспечиваем одинаковую ширину для всех полей в строке */
.form-row .form-group {
    width: 100%;
    min-width: 0;
    max-width: 100%;
}

.form-textarea {
    min-height: 100px;
    resize: vertical;
    font-size: 15px;
    line-height: 1.5;
}

.field-description {
    font-size: 12px;
    color: #6c757d;
    margin-top: 6px;
    font-style: normal;
}

.no-size-checkbox {
    margin-top: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #495057;
}

/* Стили для чекбоксов "Без товарного знака" и "Нет модели/артикула" */
.no-brand-checkbox,
.no-model-checkbox {
    margin-top: 10px;
}

.no-brand-checkbox .checkbox-label,
.no-model-checkbox .checkbox-label {
    font-size: 14px;
    color: #6c757d;
    font-weight: 500;
}

/* Стили для отключенных полей */
.form-input:disabled {
    background-color: #f8f9fa;
    border-color: #e8ecef;
    color: #6c757d;
    cursor: not-allowed;
}

.form-input:disabled::placeholder {
    color: #adb5bd;
}

/* Секция этикеток */
.label-section {
    background: white;
    border-radius: 8px;
    padding: 30px;
    margin-top: 24px;
    border: 1px solid #e8ecef;
}

.label-btn {
    width: 100%;
    background: #17a2b8;
    color: white;
    border: none;
    padding: 16px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 16px;
}

.label-btn:hover {
    background: #138496;
}

/* Модальное окно */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 8px;
    padding: 32px;
    max-width: 1600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid #e8ecef;
}

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

.modal-title {
    font-size: 22px;
    font-weight: 600;
    color: #00c330;
}

.close-modal {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #6c757d;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.close-modal:hover {
    color: #00c330;
    background: #f8f9fa;
}

.label-notice {
    background: #e3f2fd;
    border: 1px solid #2196f3;
    border-radius: 6px;
    padding: 12px 16px;
    margin-bottom: 24px;
    text-align: center;
    color: #1565c0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
}

.download-template-btn {
    display: inline-block;
    background: #17a2b8;
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-bottom: 8px;
}

.download-template-btn:hover {
    background: #138496;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(23, 162, 184, 0.3);
}

/* Кастомное поле загрузки файла */
.file-upload-wrapper {
    position: relative;
    margin-bottom: 12px;
}

.file-upload-input {
    display: none;
}

.file-upload-label {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    border: 2px dashed #ced4da;
    border-radius: 8px;
    background: #f8f9fa;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.file-upload-label:hover {
    border-color: #17a2b8;
    background: #e3f2fd;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(23, 162, 184, 0.15);
}

.file-upload-label.dragover {
    border-color: #17a2b8;
    background: #e3f2fd;
    border-style: solid;
}

.file-upload-icon {
    font-size: 48px;
    flex-shrink: 0;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.file-upload-label:hover .file-upload-icon {
    opacity: 1;
    transform: scale(1.1);
}

.file-upload-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.file-upload-main-text {
    font-size: 16px;
    font-weight: 600;
    color: #212529;
}

.file-upload-sub-text {
    font-size: 13px;
    color: #6c757d;
}

.file-upload-status {
    margin-top: 12px;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    display: none;
}

.file-upload-status.success {
    display: block;
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.file-upload-status.error {
    display: block;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.labels-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 24px;
}

.labels-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.labels-row-first {
    margin-bottom: 24px;
}

.labels-row-second {
    margin-bottom: 0;
}

.label-item {
    background: #f8f9fa;
    border: 2px solid #e8ecef;
    border-radius: 8px;
    padding: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.label-item:hover {
    border-color: #00c330;
    transform: translateY(-2px);
}

.label-item.selected {
    border-color: #00c330;
    background: #f0f7ff;
    box-shadow: 0 4px 12px rgba(0, 84, 166, 0.15);
}

.label-image {
    width: 100%;
    min-height: 150px;
    background: #f8f9fa;
    border-radius: 6px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    flex: 1;
    padding: 12px;
}

.label-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Всплывающее окно вариантов */
.variant-popup {
    position: fixed;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 2px solid #e8ecef;
    z-index: 10001;
    padding: 16px;
    min-width: 280px;
    max-width: 320px;
    animation: popupFadeIn 0.2s ease-out;
}

.variant-popup::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px;
    left: 20px;
    z-index: 10002;
}

.variant-popup.popup-below::before {
    top: -20px;
    border-color: transparent transparent #e8ecef transparent;
}

.variant-popup.popup-below::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 9px;
    left: 21px;
    top: -18px;
    border-color: transparent transparent white transparent;
    z-index: 10003;
}

.variant-popup.popup-above::before {
    bottom: -20px;
    border-color: #e8ecef transparent transparent transparent;
}

.variant-popup.popup-above::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 9px;
    left: 21px;
    bottom: -18px;
    border-color: white transparent transparent transparent;
    z-index: 10003;
}

@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.variants-popup-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.variant-popup-card {
    background: #fff;
    border: 2px solid #e8ecef;
    border-radius: 8px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.variant-popup-card:hover {
    border-color: #00c330;
    background: #f0f7ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 84, 166, 0.15);
}

.variant-popup-image {
    width: 100%;
    background: #f8f9fa;
    border-radius: 6px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.variant-popup-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.variant-popup-info {
    text-align: center;
}

.variant-popup-type {
    font-weight: 600;
    color: #00c330;
    font-size: 14px;
    margin-bottom: 4px;
}

.variant-popup-dimensions {
    color: #666;
    font-size: 12px;
    margin-bottom: 4px;
}

@media (max-width: 768px) {
    .variant-popup {
        min-width: 240px;
        max-width: 280px;
        padding: 12px;
    }
}

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

.confirm-label-btn {
    background: #00c330;
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 15px;
}

.confirm-label-btn:hover {
    background: #004494;
}

.cancel-label-btn {
    background: #6c757d;
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 15px;
}

.cancel-label-btn:hover {
    background: #5a6268;
}

/* Расширяющиеся ячейки с вариантами этикеток */
.labels-grid.expanded {
    transition: all 0.3s ease;
}

.label-item.expanded {
    border-color: #00c330;
    box-shadow: 0 4px 12px rgba(0, 84, 166, 0.15);
    transition: all 0.3s ease;
}

.label-variants {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #e0e0e0;
}

.label-variant {
    padding: 10px;
    margin: 5px 0;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
    background: white;
}

.label-variant:hover {
    border-color: #00c330;
    background: #f0f7ff;
    transform: translateY(-2px);
    box-shadow: 0 2px 6px rgba(0, 84, 166, 0.1);
}

.label-variants-indicator {
    color: #00c330;
    font-size: 11px;
    margin-top: 4px;
    cursor: pointer;
    user-select: none;
}

/* Сводка */
.summary-section {
    background: white;
    border-radius: 8px;
    padding: 30px;
    border: 1px solid #e8ecef;
    text-align: center;
}

.summary-title {
    color: #00c330;
    font-size: 22px;
    margin-bottom: 24px;
    font-weight: 600;
}

.summary-content {
    background: #f8f9fa;
    border-radius: 6px;
    padding: 24px;
    margin: 20px 0;
    text-align: left;
    border: 1px solid #e8ecef;
}

.summary-item {
    margin-bottom: 12px;
    padding: 12px;
    border-bottom: 1px solid #e8ecef;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
}

.summary-label {
    font-weight: 600;
    color: #2c3e50;
    font-size: 14px;
}

.submit-btn,
.telegram-btn {
    background: #00c330;
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 16px;
}

.submit-btn:hover,
.telegram-btn:hover {
    background: #00a028;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 195, 48, 0.3);
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #28a745;
    color: white;
    padding: 16px 24px;
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transform: translateX(400px);
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 10000;
    font-size: 14px;
    font-weight: 500;
    max-width: 400px;
    word-wrap: break-word;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
}

/* Стили для сетки размеров */
.sizes-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
}

.sizes-row {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 6px;
}

.size-option {
    padding: 10px 4px;
    border: 2px solid #e8ecef;
    border-radius: 6px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 12px;
    font-weight: 500;
    background: white;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    word-break: break-word;
    line-height: 1.2;
}

.size-option:hover {
    border-color: #00c330;
    background: #f0f7ff;
    transform: translateY(-1px);
}

.size-option.selected {
    border-color: #00c330;
    background: #00c330;
    color: white;
}

.size-option.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f8f9fa;
}

/* Стили для блока "Свой размер" */
.custom-size-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 15px;
}

.custom-size-text,
.custom-size-quantity {
    display: flex;
    flex-direction: column;
}

.custom-size-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.custom-size-input {
    flex: 1;
    min-width: 80px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
}

.size-btn {
    min-width: 50px;
    padding: 10px 16px;
    background: #00c330;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.size-btn:hover {
    background: #004494;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 84, 166, 0.3);
}

.size-btn:active {
    transform: translateY(0);
}

/* Стили для блока управления товарами */
.product-controls-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    width: 100%;
    box-sizing: border-box;
}

.clear-btn {
    background: #dc3545 !important;
    border-color: #dc3545 !important;
}

.quantity-controls-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    width: 100%;
    box-sizing: border-box;
}

.quantity-label {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.quantity-input-wrapper {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    box-sizing: border-box;
}

.quantity-input {
    width: 80px;
    text-align: center;
    padding: 8px;
    box-sizing: border-box;
}

.quantity-btn {
    min-width: 45px;
    padding: 8px 12px;
    font-size: 13px;
    box-sizing: border-box;
}

/* Адаптивность для блока "Свой размер" */
@media (max-width: 768px) {
    .custom-size-wrapper {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .custom-size-controls {
        flex-direction: row;
        justify-content: center;
    }
    
    .custom-size-input {
        width: auto;
        min-width: 80px;
    }
    
    .size-btn {
        min-width: 50px;
    }
}

.selected-company, .selected-label {
    background: #f0f7ff;
    border: 1px solid #00c330;
    border-radius: 6px;
    padding: 16px;
    margin-top: 16px;
    display: none;
}

.selected-company.visible, .selected-label.visible {
    display: block;
}

.selected-company-title, .selected-label-title {
    font-weight: 600;
    color: #00c330;
    margin-bottom: 8px;
    font-size: 14px;
}

.selected-company-details, .selected-label-details {
    color: #2c3e50;
    font-size: 14px;
    line-height: 1.4;
}

.no-results {
    padding: 20px;
    text-align: center;
    color: #6c757d;
    font-style: italic;
}

/* Стили для блока сертификации */
.certification-checkbox {
    margin-bottom: 10px;
}

.certification-checkbox .checkbox-label {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
}

#certificationSection {
    background: #f8f9fa;
    border: 1px solid #e8ecef;
    border-radius: 8px;
    padding: 20px;
    margin-top: 16px;
}

#certificationSection .form-title {
    color: #00c330;
    font-size: 18px;
    margin-bottom: 16px;
}

/* Стили для выпадающих списков с поиском */
.form-select[aria-expanded="true"] {
    border-color: #00c330;
    box-shadow: 0 0 0 3px rgba(0, 84, 166, 0.1);
}

/* Стили для автодополнения */
.awesomplete {
    width: 100%;
    position: relative;
    display: block;
    box-sizing: border-box;
}

.awesomplete > ul {
    background: white;
    border: 1px solid #e8ecef;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    list-style: none;
    padding: 0;
    margin: 0;
}

.awesomplete > ul > li {
    padding: 10px 12px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
}

.awesomplete > ul > li:hover {
    background-color: #f0f7ff;
    color: #00c330;
}

.awesomplete > ul > li[aria-selected="true"] {
    background-color: #00c330;
    color: white;
}

.awesomplete mark {
    background: rgba(0, 84, 166, 0.2);
    color: inherit;
    padding: 0;
}

/* Более агрессивное переопределение */
.awesomplete mark {
    background-color: rgba(0, 84, 166, 0.3) !important;
    background-image: none !important;
    color: inherit !important;
    padding: 0 !important;
    border-radius: 2px !important;
}

li:hover .awesomplete mark {
    background-color: rgba(0, 84, 166, 0.5) !important;
}

li[aria-selected="true"] .awesomplete mark {
    background-color: rgba(255, 255, 255, 0.9) !important;
    color: #00c330 !important;
}
/* Улучшенные стили для выпадающих списков */
.form-select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    padding-right: 40px;
    appearance: none;
}

.form-select:focus {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230054a6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}

/* Ограничение ширины выпадающих списков для ТНВЭД и технического регламента */
#tnvedCode ~ .awesomplete > ul,
#techRegulation ~ .awesomplete > ul {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

/* Обеспечиваем одинаковую ширину для поля технического регламента */
#techRegulation {
    width: 100% !important;
    box-sizing: border-box !important;
    max-width: 100% !important;
    min-width: 0 !important;
}

/* Обеспечиваем, что обертка awesomplete для techRegulation имеет такую же ширину */
.form-group .awesomplete {
    width: 100% !important;
    box-sizing: border-box !important;
    max-width: 100% !important;
    min-width: 0 !important;
    display: block !important;
}

/* Специфично для группы с техническим регламентом */
.form-row .form-group:nth-child(2) {
    width: 100%;
    min-width: 0;
    max-width: 100%;
}

.form-row .form-group:nth-child(2) .awesomplete,
.form-row .form-group:nth-child(2) #techRegulation {
    width: 100% !important;
    box-sizing: border-box !important;
    max-width: 100% !important;
    min-width: 0 !important;
}

/* Стили для описания ТНВЭД */
.tnvd-description {
    margin-top: 8px;
    padding: 12px;
    background: #f0f7ff;
    border: 1px solid #00c330;
    border-radius: 6px;
    font-size: 13px;
    line-height: 1.4;
    display: none;
    box-shadow: 0 2px 8px rgba(0, 84, 166, 0.1);
}

.tnvd-description-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tnvd-description-content strong {
    color: #00c330;
    font-size: 12px;
    font-weight: 600;
}

.tnvd-description-content span {
    color: #2c3e50;
    line-height: 1.5;
}

/* Стили для ошибок валидации */
.validation-error {
    color: #e74c3c;
    font-size: 12px;
    margin-top: 5px;
    padding: 4px 8px;
    background: #fdf2f2;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
}

/* Адаптивность */
@media (max-width: 768px) {
    body {
        padding: 10px;
        overflow-x: hidden;
        max-width: 100vw;
    }
    
    .container {
        overflow-x: hidden;
    }
    
    .container {
        max-width: 100%;
        border-radius: 8px;
    }
    
    .header {
        padding: 16px 20px;
    }
    
    .header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .header-logo {
        height: 40px;
    }
    
    .header h1 {
        font-size: 20px;
    }
    
    .header .subtitle {
        font-size: 13px;
    }
    
    .progress-steps {
        flex-direction: column;
    }
    
    .step {
        padding: 16px 20px;
        border-bottom: 1px solid #e8ecef;
        border-left: 4px solid transparent;
    }
    
    .step.active {
        border-left-color: #00c330;
        border-bottom-color: #e8ecef;
    }
    
    .tab-content-inner {
        padding: 20px;
        overflow-x: hidden;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .form-section, .product-form, .summary-section, .label-section {
        padding: 20px;
        overflow-x: hidden;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .modal-content {
        padding: 24px;
        margin: 10px;
        max-width: calc(100% - 20px);
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .labels-grid {
        gap: 10px;
        padding: 0;
        display: flex !important;
        flex-direction: column !important;
    }
    
    .labels-row {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        display: grid !important;
        width: 100% !important;
    }
    
    .labels-row-first,
    .labels-row-second {
        margin-bottom: 10px !important;
        width: 100% !important;
    }
    
    .label-item {
        min-height: 100px !important;
        padding: 10px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        grid-column: span 1 !important;
        margin: 0 !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 12px !important;
        text-align: left !important;
    }
    
    .label-item[style*="grid-column: span 2"] {
        grid-column: span 1 !important;
    }
    
    /* Исправление для Типа 5 и Типа 6 на мобильных - горизонтальный layout */
    .label-item[data-label-id="5"],
    .label-item[data-label-id="6"] {
        grid-column: span 1 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        min-height: 100px !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        margin: 0 0 10px 0 !important;
        flex-shrink: 0 !important;
        flex-grow: 0 !important;
        gap: 12px !important;
        text-align: left !important;
    }
    
    .label-item[data-label-id="5"] .label-image,
    .label-item[data-label-id="6"] .label-image {
        min-height: 80px !important;
        width: 80px !important;
        flex: 0 0 80px !important;
        padding: 8px !important;
        box-sizing: border-box !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin-bottom: 0 !important;
        margin-right: 0 !important;
    }
    
    .label-item[data-label-id="5"] .label-image img,
    .label-item[data-label-id="6"] .label-image img {
        max-height: 80px !important;
        max-width: 80px !important;
        width: auto !important;
        height: auto !important;
        object-fit: contain !important;
        display: block !important;
    }
    
    /* Для типа 6 (20x20) - квадратная миниатюрная этикетка */
    .label-item[data-label-id="6"] .label-image {
        width: 80px !important;
        flex: 0 0 80px !important;
    }
    
    .label-item[data-label-id="6"] .label-image img {
        max-height: 70px !important;
        max-width: 70px !important;
    }
    
    /* Для типа 5 (40x58_WB) - этикетка с вариантами */
    .label-item[data-label-id="5"] .label-image {
        width: 80px !important;
        flex: 0 0 80px !important;
    }
    
    .label-item[data-label-id="5"] .label-image img {
        max-height: 80px !important;
        max-width: 80px !important;
    }
    
    /* Контейнер с текстом справа от изображения */
    .label-item > div:last-child {
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        margin-top: 0 !important;
    }
    
    /* Варианты для типа 5 на мобильных */
    .label-item[data-label-id="5"] .label-variants {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        padding: 12px !important;
        margin-top: 12px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .label-item[data-label-id="5"] .label-variant {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px !important;
        min-height: 120px !important;
        box-sizing: border-box !important;
    }
    
    .label-image {
        min-height: 80px !important;
        width: 80px !important;
        flex: 0 0 80px !important;
        padding: 8px !important;
        margin-bottom: 0 !important;
        margin-right: 0 !important;
    }
    
    .label-image img {
        max-height: 80px !important;
        max-width: 80px !important;
    }
    
    .label-item > div:last-child {
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        margin-top: 0 !important;
    }
    
    .label-type {
        font-size: 15px !important;
        margin-bottom: 4px !important;
        text-align: left !important;
    }
    
    .label-dimensions {
        font-size: 13px !important;
        text-align: left !important;
    }
    
    .label-variants-indicator {
        font-size: 12px !important;
        padding: 4px 0 !important;
        margin-top: 4px !important;
        text-align: left !important;
    }
    
    .modal-content {
        width: 95% !important;
        max-width: 100% !important;
        max-height: 90vh;
        overflow-y: auto;
        padding: 16px !important;
        margin: 10px !important;
    }
    
    .modal-header {
        padding: 16px 0;
        margin-bottom: 12px;
    }
    
    .modal-title {
        font-size: 20px;
    }
    
    .close-modal {
        width: 32px;
        height: 32px;
        font-size: 24px;
        line-height: 1;
    }
    
    .label-notice {
        padding: 12px;
        font-size: 13px;
        margin-bottom: 16px;
        line-height: 1.5;
    }
    
    .modal-actions {
        flex-direction: column;
        gap: 10px;
        padding: 16px 0 0 0;
        margin-top: 16px;
    }
    
    .confirm-label-btn,
    .cancel-label-btn {
        width: 100%;
        padding: 14px;
        font-size: 16px;
    }
    
    .variant-popup {
        min-width: 90%;
        max-width: 95%;
        left: 50% !important;
        transform: translateX(-50%);
        padding: 16px;
    }
    
    .label-variants {
        padding: 12px;
        gap: 12px;
    }
    
    .label-variant {
        padding: 12px;
        min-height: 100px;
    }
    
    /* Дополнительные стили для очень маленьких экранов */
    @media (max-width: 480px) {
        .labels-grid {
            gap: 8px !important;
        }
        
        .labels-row {
            gap: 8px !important;
        }
        
        .labels-row-first,
        .labels-row-second {
            margin-bottom: 8px !important;
        }
        
        .label-item {
            min-height: 90px !important;
            padding: 8px !important;
            gap: 10px !important;
        }
        
        .label-image {
            min-height: 70px !important;
            width: 70px !important;
            flex: 0 0 70px !important;
            padding: 6px !important;
        }
        
        .label-image img {
            max-height: 70px !important;
            max-width: 70px !important;
        }
        
        .label-type {
            font-size: 14px !important;
        }
        
        .label-dimensions {
            font-size: 12px !important;
        }
        
        .label-variants-indicator {
            font-size: 11px !important;
            padding: 3px 0 !important;
        }
        
        .modal-content {
            width: 98% !important;
            padding: 12px !important;
            margin: 5px !important;
        }
        
        .modal-title {
            font-size: 18px;
        }
        
        .label-notice {
            font-size: 12px;
            padding: 10px;
        }
        
        /* Дополнительные стили для типа 5 и 6 на очень маленьких экранах */
        .label-item[data-label-id="5"],
        .label-item[data-label-id="6"] {
            min-height: 90px !important;
            padding: 8px !important;
            margin: 0 0 8px 0 !important;
            width: 100% !important;
            max-width: 100% !important;
            display: flex !important;
            flex-direction: row !important;
            gap: 10px !important;
        }
        
        .label-item[data-label-id="5"] .label-image,
        .label-item[data-label-id="6"] .label-image {
            width: 70px !important;
            flex: 0 0 70px !important;
            min-height: 70px !important;
            padding: 6px !important;
        }
        
        .label-item[data-label-id="5"] .label-image img {
            max-height: 70px !important;
            max-width: 70px !important;
        }
        
        .label-item[data-label-id="6"] .label-image img {
            max-height: 60px !important;
            max-width: 60px !important;
        }
    }
    
    .confirm-btn {
        width: 100%;
    }
    
    .sizes-grid {
        grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
        gap: 8px;
    }
    
    .sizes-row {
        grid-template-columns: repeat(4, 1fr);
        gap: 4px;
    }

    .size-option {
        padding: 8px 2px;
        font-size: 11px;
        min-height: 36px;
    }
    
    .manual-input-actions {
        flex-direction: column;
    }
    
    .awesomplete > ul {
        max-height: 150px;
    }
    
    .awesomplete > ul > li {
        padding: 8px 10px;
        font-size: 13px;
    }
    
    .tnvd-description {
        padding: 10px;
        font-size: 12px;
    }
    
    .form-select {
        background-position: right 12px center;
        padding-right: 36px;
    }
}

/* Стили для таблицы товаров */
.products-table-wrapper {
    margin-top: 20px;
    overflow-x: auto;
    width: 100%;
    position: relative;
    display: block;
    max-height: 450px; /* Примерно 5 строк + заголовок */
    overflow-y: auto;
}

.products-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: none;
    table-layout: auto;
    border-spacing: 0;
}

.products-table thead {
    display: table-header-group;
    position: sticky;
    top: 0;
    z-index: 10;
}

.products-table tbody {
    display: table-row-group;
}

.products-table thead tr {
    display: table-row;
}

.products-table tbody tr {
    display: table-row;
}

.products-table thead {
    background: linear-gradient(135deg, #00c330 0%, #00c330 100%);
    color: white;
}

.products-table th {
    padding: 12px 10px;
    text-align: left;
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
    width: auto;
}

.products-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #e8ecef;
    font-size: 13px;
    vertical-align: middle;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.products-table tbody tr:hover {
    background-color: #f8f9fa;
}

.products-table tbody tr:last-child td {
    border-bottom: none;
}

.delete-btn {
    background: #e0e0e0;
    color: #666;
    border: 1px solid #ccc;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
    min-width: 40px;
}

.delete-btn:hover {
    background: #d0d0d0;
}

.delete-btn:active {
    transform: scale(0.95);
}

.table-empty-message {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
    font-style: italic;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px dashed #dee2e6;
}

/* Стили для таблицы состава */
.composition-wrapper {
    margin-top: 10px;
}

.composition-materials-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 12px;
}

.composition-row {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e8ecef;
}

.composition-field {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.composition-label {
    font-size: 12px;
    color: #6c757d;
    font-weight: 500;
}

.composition-actions {
    display: flex;
    align-items: flex-end;
    padding-bottom: 2px;
}

.composition-table {
    display: none;
}

.add-material-btn {
    background: #e0e0e0;
    color: #666;
    border: 1px solid #ccc;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 400;
    transition: all 0.2s ease;
    margin-bottom: 12px;
}

.add-material-btn:hover {
    background: #d0d0d0;
}

.add-material-btn:active {
    transform: scale(0.98);
}

.composition-total {
    padding: 12px;
    background: #f0f7ff;
    border: 1px solid #00c330;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 8px;
}

.composition-error {
    padding: 8px 12px;
    background: #fff5f5;
    border: 1px solid #e74c3c;
    border-radius: 6px;
    font-size: 13px;
}

/* Адаптивность для таблицы */
@media (max-width: 768px) {
    .products-table-wrapper {
        overflow-x: auto;
    }
    
    .products-table {
        width: 100%;
        min-width: 1000px;
        font-size: 11px;
    }
    
    .products-table th,
    .products-table td {
        padding: 8px 4px;
    }
    
    .delete-btn {
        padding: 4px 8px;
        font-size: 14px;
        min-width: 35px;
    }
}

/* Адаптивность для блока управления товарами */
@media (max-width: 768px) {
    .product-controls-wrapper {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .product-controls-wrapper .confirm-btn {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .quantity-controls-wrapper {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 8px !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
    
    .quantity-controls-wrapper label {
        text-align: center !important;
        margin: 0 0 8px 0 !important;
        padding: 0 !important;
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        order: -1 !important;
    }
    
    .quantity-input-wrapper {
        order: 0 !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 4px !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
        display: flex !important;
        align-items: center !important;
    }
    
    .quantity-input-wrapper .size-btn {
        flex: 0 0 auto !important;
        min-width: 45px !important;
        max-width: 60px !important;
        width: auto !important;
        padding: 8px 12px !important;
        font-size: 12px !important;
        box-sizing: border-box !important;
    }
    
    #productQuantity {
        width: 70px !important;
        max-width: 70px !important;
        min-width: 70px !important;
        flex: 0 0 70px !important;
        box-sizing: border-box !important;
        margin: 0 4px !important;
    }
}

/* Для маленьких экранов */
@media (max-width: 480px) {
    .sizes-row {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .size-option {
        padding: 6px 1px;
        font-size: 10px;
        min-height: 32px;
    }
    
    .product-controls-wrapper {
        gap: 10px !important;
    }
    
    .product-controls-wrapper .confirm-btn {
        font-size: 14px !important;
        padding: 10px 16px !important;
    }
    
    .product-controls-wrapper {
        gap: 10px !important;
        padding: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .product-controls-wrapper .confirm-btn {
        font-size: 14px !important;
        padding: 10px 16px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .quantity-controls-wrapper {
        gap: 8px !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
    
    .quantity-controls-wrapper label {
        font-size: 13px !important;
        text-align: center !important;
        margin: 0 0 10px 0 !important;
        padding: 0 !important;
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        order: -1 !important;
        font-weight: 600 !important;
    }
    
    .quantity-input-wrapper {
        order: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        justify-content: center !important;
        align-items: center !important;
        padding: 0 !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
        flex-wrap: wrap !important;
        gap: 4px !important;
    }
    
    #productQuantity {
        width: 60px !important;
        max-width: 60px !important;
        min-width: 60px !important;
        flex: 0 0 60px !important;
        margin: 0 4px !important;
        padding: 6px 8px !important;
        font-size: 14px !important;
        box-sizing: border-box !important;
    }
    
    .quantity-input-wrapper .size-btn {
        flex: 0 0 auto !important;
        min-width: 40px !important;
        max-width: 55px !important;
        width: auto !important;
        font-size: 11px !important;
        padding: 6px 8px !important;
        box-sizing: border-box !important;
    }
    
    /* Специальная адаптация для очень маленьких экранов */
    @media (max-width: 360px) {
        .quantity-input-wrapper {
            flex-direction: column !important;
            gap: 6px !important;
        }
        
        .quantity-input-wrapper .size-btn {
            width: 100% !important;
            max-width: 120px !important;
        }
        
        #productQuantity {
            width: 100% !important;
            max-width: 120px !important;
            margin: 0 !important;
        }
    }
}

/* Анимация для раскрывающегося блока */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Стили для раскрывающегося заголовка */
#productFormToggle:hover,
#excelTemplateToggle:hover {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transform: translateY(-1px);
}

#productFormToggle:active,
#excelTemplateToggle:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Аутентификация */
.auth-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.auth-modal {
    background: white;
    border-radius: 12px;
    padding: 30px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.auth-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 2px solid #e8ecef;
}

.auth-tab {
    flex: 1;
    padding: 12px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: #6c757d;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    font-weight: 500;
}

.auth-tab:hover {
    color: #00c330;
    background: #f0f7ff;
}

.auth-tab.active {
    color: #00c330;
    border-bottom-color: #00c330;
    font-weight: 600;
    background: #f0f7ff;
}

.auth-form-container {
    display: block;
}

.login-type-selector {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

.login-type-btn {
    flex: 1;
    padding: 12px;
    border: 2px solid #e8ecef;
    border-radius: 8px;
    background: white;
    color: #6c757d;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-type-btn:hover {
    border-color: #00c330;
    color: #00c330;
}

.login-type-btn.active {
    border-color: #00c330;
    background: #f0f7ff;
    color: #00c330;
    font-weight: 600;
}

/* Форма авторизации - отображается по умолчанию, скрывается через .auth-step */
.auth-form {
    display: block;
}

.auth-form h2 {
    margin-bottom: 20px;
    color: #333;
    font-size: 24px;
}

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

.error-message {
    margin-top: 15px;
    padding: 10px;
    background: #fff5f5;
    border: 1px solid #e74c3c;
    border-radius: 6px;
    color: #e74c3c;
    font-size: 14px;
}

.user-info {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.my-applications-btn {
    padding: 8px 16px;
    background: rgba(52, 152, 219, 0.9);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
    margin-right: 10px;
}

.my-applications-btn:hover {
    background: rgba(41, 128, 185, 0.95);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.logout-btn {
    padding: 8px 16px;
    background: rgba(231, 76, 60, 0.9);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.logout-btn:hover {
    background: rgba(192, 57, 43, 0.95);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Стили для новой формы авторизации */
.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-title {
    font-size: 28px;
    color: #333;
    margin-bottom: 10px;
}

.auth-subtitle {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 0;
}

.auth-step {
    display: none;
}

.auth-step.active {
    display: block !important;
}

/* Форма внутри активного шага должна быть видна */
.auth-step.active .auth-form {
    display: block !important;
}

.auth-form .form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

.auth-form .form-input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e8ecef;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.auth-form .form-input:focus {
    outline: none;
    border-color: #00c330;
}

.form-hint {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #6c757d;
}

.code-input {
    text-align: center;
    font-size: 24px;
    letter-spacing: 8px;
    font-weight: bold;
    font-family: 'Courier New', monospace;
}

/* Компонент ввода кода в стиле Apple */
.verification-code-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 24px 0;
    padding: 0 20px;
}

.code-digit {
    width: 44px;
    height: 52px;
    border: 2px solid #00c330;
    border-radius: 10px;
    text-align: center;
    font-size: 26px;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    background: #fff;
    color: #333;
    transition: all 0.2s ease;
    outline: none;
}

.code-digit:focus {
    border-color: #00c330;
    border-width: 3px;
    box-shadow: 0 0 0 4px rgba(0, 84, 166, 0.1);
    transform: scale(1.05);
}

.code-digit.filled {
    border-color: #00c330;
    background: #f0f7ff;
}

.code-digit:disabled {
    background: #f5f5f5;
    cursor: not-allowed;
    opacity: 0.6;
}

@media (max-width: 480px) {
    .verification-code-container {
        gap: 6px;
        padding: 0 10px;
    }
    
    .code-digit {
        width: 38px;
        height: 46px;
        font-size: 22px;
    }
}

.auth-btn {
    width: 100%;
    padding: 14px;
    background: #00c330;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 10px;
}

.auth-btn:hover:not(:disabled) {
    background: #003d7a;
}

.auth-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.back-btn {
    width: 100%;
    padding: 10px;
    background: transparent;
    color: #00c330;
    border: 2px solid #00c330;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.back-btn:hover {
    background: #f0f7ff;
}

.resend-btn {
    width: 100%;
    padding: 10px;
    background: transparent;
    color: #6c757d;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: color 0.3s;
    margin-top: 10px;
    text-decoration: underline;
}

.resend-btn:hover:not(:disabled) {
    color: #00c330;
}

.resend-btn:disabled {
    color: #ccc;
    cursor: not-allowed;
    text-decoration: none;
}

.verification-info {
    text-align: center;
    margin-bottom: 25px;
    padding: 15px;
    background: #f0f7ff;
    border-radius: 8px;
}

.verification-info p {
    margin: 5px 0;
    color: #333;
}

.email-display {
    font-weight: 600;
    color: #00c330;
    font-size: 16px;
}

.verification-hint {
    font-size: 12px;
    color: #6c757d;
    margin-top: 10px;
}

.user-info-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

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

.user-details {
    flex: 1;
}

.user-email {
    font-weight: 600;
    color: white;
    font-size: 16px;
}

.user-phone {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 2px;
}

/* Стили для таблицы заявок */
.applications-table-wrapper {
    overflow-x: auto;
    margin: 20px 0;
}

.applications-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.applications-table thead {
    background: #00c330;
    color: white;
}

.applications-table th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
}

.applications-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #e8ecef;
    font-size: 14px;
    color: #333;
}

.applications-table tbody tr:hover {
    background: #f8f9fa;
}

.applications-table tbody tr:last-child td {
    border-bottom: none;
}

.view-application-btn {
    padding: 6px 12px;
    background: #00c330;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.view-application-btn:hover {
    background: #003d7a;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.delete-application-btn {
    padding: 6px 12px;
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-left: 8px;
}

.delete-application-btn:hover {
    background: #c0392b;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.applications-table td:last-child {
    white-space: nowrap;
}

/* Карточки заявок для мобильных устройств */
.applications-cards {
    display: none;
    gap: 16px;
    flex-direction: column;
}

.application-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.application-card-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    word-break: break-word;
}

.application-card-label {
    font-size: 12px;
    color: #6c757d;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.application-card-value {
    font-size: 16px;
    color: #333;
    font-weight: 500;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

.application-card-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px solid #e9ecef;
}

.application-card-actions .delete-application-btn {
    width: 100%;
    padding: 12px;
    font-size: 14px;
    font-weight: 600;
}

/* Адаптивность для header и user-info */
@media (max-width: 768px) {
    .header {
        padding: 15px 20px;
    }
    
    .header-content {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .header-text {
        flex: 1;
        min-width: 0;
    }
    
    .header-text h1 {
        font-size: 20px;
    }
    
    .user-info {
        width: 100%;
        justify-content: space-between;
        padding: 12px 15px;
        margin-top: 10px;
        order: 2;
        background: rgba(0, 0, 0, 0.05);
        border-radius: 8px;
    }
    
    .user-info-content {
        width: 100%;
        justify-content: space-between;
        gap: 10px;
        flex-wrap: wrap;
    }
    
    .user-details {
        flex: 1 1 100%;
        min-width: 0;
        order: 1;
    }
    
    .user-email {
        font-size: 14px;
        margin-bottom: 4px;
    }
    
    .user-phone {
        font-size: 12px;
    }
    
    .user-avatar {
        font-size: 24px;
        order: 0;
    }
    
    .my-applications-btn {
        order: 2;
        flex: 1;
        margin-right: 8px;
    }
    
    .logout-btn {
        order: 3;
        padding: 6px 12px;
        font-size: 13px;
    }
    
    /* Скрываем таблицу на мобильных */
    .applications-table {
        display: none !important;
    }
    
    /* Показываем карточки на мобильных */
    .applications-cards {
        display: flex !important;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 12px 15px;
    }
    
    .header-text h1 {
        font-size: 18px;
    }
    
    .user-info {
        padding: 10px 12px;
        margin-top: 8px;
    }
    
    .user-info-content {
        gap: 8px;
    }
    
    .user-email {
        font-size: 13px;
    }
    
    .user-phone {
        font-size: 11px;
    }
    
    .user-avatar {
        font-size: 20px;
    }
    
    .my-applications-btn {
        font-size: 12px;
        padding: 6px 10px;
    }
    
    .logout-btn {
        padding: 5px 10px;
        font-size: 12px;
    }
    
    .application-card {
        padding: 16px;
    }
    
    .application-card-label {
        font-size: 11px;
    }
    
    .application-card-value {
        font-size: 14px;
    }
}

/* Адаптивность для формы авторизации */
@media (max-width: 768px) {
    .auth-modal {
        padding: 20px;
        width: 95%;
    }
    
    .auth-title {
        font-size: 24px;
    }
    
    .code-input {
        font-size: 20px;
        letter-spacing: 4px;
    }
}

/* Адаптивность для 14-дюймовых экранов (до 1440px) */
@media (max-width: 1440px) {
    body {
        padding: 12px;
    }
    
    .container {
        max-width: 100%;
        border-radius: 8px;
    }
    
    .header {
        padding: 18px 30px;
    }
    
    .header h1 {
        font-size: 22px;
    }
    
    .header .subtitle {
        font-size: 13px;
    }
    
    .tab-content-inner {
        padding: 30px 24px;
    }
    
    .step {
        padding: 16px 20px;
        font-size: 13px;
    }
    
    .step-number {
        width: 24px;
        height: 24px;
        font-size: 13px;
        margin-right: 10px;
    }
    
    .form-section {
        margin-bottom: 20px;
    }
    
    .form-title {
        font-size: 18px;
        margin-bottom: 16px;
    }
    
    .form-input,
    .form-select {
        padding: 10px 14px;
        font-size: 14px;
    }
    
    .form-label {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .confirm-btn,
    .telegram-btn {
        padding: 12px 24px;
        font-size: 15px;
        min-width: 180px;
    }
    
    .products-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .products-table {
        font-size: 13px;
        min-width: 1000px;
    }
    
    .products-table th,
    .products-table td {
        padding: 10px 8px;
        white-space: nowrap;
    }
    
    .products-table th:nth-child(n+6),
    .products-table td:nth-child(n+6) {
        max-width: 120px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .user-info {
        padding: 12px 16px;
    }
    
    .user-info-content {
        gap: 12px;
    }
    
    .user-email {
        font-size: 14px;
    }
    
    .user-phone {
        font-size: 12px;
    }
    
    .my-applications-btn {
        padding: 8px 14px;
        font-size: 13px;
    }
    
    .logout-btn {
        padding: 8px 14px;
        font-size: 13px;
    }
}

/* Дополнительная оптимизация для экранов 1366px и меньше */
@media (max-width: 1366px) {
    .header {
        padding: 16px 24px;
    }
    
    .tab-content-inner {
        padding: 24px 20px;
    }
    
    .form-section {
        margin-bottom: 18px;
    }
    
    .form-title {
        font-size: 17px;
        margin-bottom: 14px;
    }
    
    .step {
        padding: 14px 18px;
    }
    
    .products-table {
        font-size: 12px;
    }
    
    .products-table th,
    .products-table td {
        padding: 8px 6px;
    }
    
    .confirm-btn,
    .telegram-btn {
        padding: 11px 20px;
        font-size: 14px;
        min-width: 160px;
    }
    
    .header-content {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .user-info {
        width: 100%;
        margin-top: 12px;
    }
}

/* Оптимизация для экранов 1280px и меньше */
@media (max-width: 1280px) {
    body {
        padding: 10px;
    }
    
    .header {
        padding: 14px 20px;
    }
    
    .header h1 {
        font-size: 20px;
    }
    
    .tab-content-inner {
        padding: 20px 16px;
    }
    
    .step {
        padding: 12px 16px;
        font-size: 12px;
    }
    
    .form-title {
        font-size: 16px;
    }
    
    .form-input,
    .form-select {
        padding: 9px 12px;
        font-size: 13px;
    }
    
    .products-table {
        font-size: 11px;
    }
    
    .products-table th,
    .products-table td {
        padding: 6px 4px;
    }
    
    .confirm-btn,
    .telegram-btn {
        padding: 10px 18px;
        font-size: 13px;
        min-width: 150px;
    }
    
    .form-section {
        padding: 20px 16px;
    }
    
    .product-controls-wrapper {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .quantity-controls-wrapper {
        width: 100%;
        margin-top: 12px;
    }
    
    .labels-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
    
    .modal-content {
        max-width: 90%;
        padding: 20px;
    }
    
    .user-info-content {
        flex-wrap: wrap;
    }
}
/* Стили для статусов заявок */
.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    background: #e9ecef;
    color: #495057;
}

.status-badge[data-status="Новая"] {
    background: #cfe2ff;
    color: #084298;
}

.status-badge[data-status="Оплата"] {
    background: #fff3cd;
    color: #856404;
}

.status-badge[data-status="Оплачено"] {
    background: #d1e7dd;
    color: #0f5132;
}

.status-badge[data-status="Исправления"] {
    background: #f8d7da;
    color: #842029;
}

.status-badge[data-status="Требует изменения"] {
    background: #f8d7da;
    color: #842029;
}

.status-badge[data-status="Принята в работу (срок выполнения до 3 рабочих дней)"] {
    background: #d1e7dd;
    color: #0f5132;
}

.status-badge[data-status="Подгрузка готовых"] {
    background: #cfe2ff;
    color: #084298;
}

.status-badge[data-status="Удаление"] {
    background: #6c757d;
    color: #fff;
}

/* Стили для секции комментариев */
#commentsSection {
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

#commentsList {
    max-height: 400px;
    overflow-y: auto;
}

/* Стили для управления статусом */
#statusManagementSection {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

#statusSelect {
    min-width: 250px;
}

#statusCommentText {
    min-width: 300px;
}

/* Стили для контактов пользователя */
#userContactsContainer {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #dee2e6;
}

/* Адаптивность для новых элементов */
@media (max-width: 768px) {
    #statusManagementSection {
        padding: 15px;
    }
    
    #statusSelect,
    #statusCommentText {
        width: 100%;
        margin-bottom: 10px;
    }
    
    #updateStatusBtn {
        width: 100%;
    }
}

/* Стили для формы создания сотрудника */
.staff-form-modal {
    max-width: 420px;
}

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

.staff-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 14px;
}

.staff-form .required {
    color: #dc3545;
    margin-left: 4px;
}

.staff-form .form-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e8ecef;
    border-radius: 6px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: white;
    color: #333;
    font-family: inherit;
}

.staff-form .form-input:focus {
    outline: none;
    border-color: #00c330;
    box-shadow: 0 0 0 3px rgba(0, 195, 48, 0.1);
}

.staff-form .form-input:disabled {
    background-color: #f8f9fa;
    cursor: not-allowed;
}

/* Убираем стандартные стили валидации браузера */
.staff-form .form-input:invalid {
    border-color: #e8ecef !important;
    box-shadow: none !important;
}

.staff-form .form-input:invalid:not(:focus):not(:placeholder-shown) {
    border-color: #e8ecef !important;
    box-shadow: none !important;
}

.staff-form .form-input:valid {
    border-color: #e8ecef !important;
}

/* Красная рамка только если явно установлена через JS */
.staff-form .form-input.error {
    border-color: #dc3545 !important;
}

.staff-form .form-hint {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #6c757d;
    line-height: 1.4;
}

.staff-form .form-error {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #dc3545;
    line-height: 1.4;
}

.staff-form .form-input:invalid {
    border-color: #dc3545;
}

.staff-form .form-input:valid {
    border-color: #e8ecef;
}

.staff-form .password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.staff-form .password-input-wrapper .form-input.password-input {
    padding-right: 135px !important;
    width: 100%;
}

.staff-form .password-input-wrapper .btn-generate-password {
    position: absolute;
    right: 6px;
    padding: 8px 14px;
    background: #17a2b8;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    z-index: 10;
    height: auto;
    line-height: 1.4;
    margin: 0;
    display: inline-block;
}

.staff-form .password-input-wrapper .btn-generate-password:hover {
    background: #138496;
    box-shadow: 0 2px 4px rgba(23, 162, 184, 0.3);
}

.staff-form .password-input-wrapper .btn-generate-password:active {
    transform: scale(0.98);
    box-shadow: 0 1px 2px rgba(23, 162, 184, 0.3);
}

.staff-form .password-input-wrapper .btn-generate-password:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(23, 162, 184, 0.3);
}

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

.staff-form .btn {
    padding: 12px 28px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.staff-form .btn-primary {
    background: #00c330;
    color: white;
}

.staff-form .btn-primary:hover {
    background: #00a028;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 195, 48, 0.3);
}

.staff-form .btn-secondary {
    background: #6c757d;
    color: white;
}

.staff-form .btn-secondary:hover {
    background: #5a6268;
}
