/* Класс для скрытия элементов */
.hidden {
    display: none !important;
}
/* Общие стили */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f5f5f5;
}

/* Блок авторизации */
.auth-container {
    max-width: 300px;
    margin: 100px auto;
    padding: 20px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.auth-container input {
    width: 80%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.auth-container button {
    width: 100%;
    padding: 10px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

.auth-container button:hover {
    background: #45a049;
}

/* Админ-панель */
.admin-panel {
    display: flex;
    height: 100vh;
}

.sidebar {
    width: 200px;
    background: #333;
    color: white;
    padding: 20px;
}

.menu-btn.active {
    background: #4CAF50 !important;
    color: white !important;
    border-left: 4px solid #2E7D32;
}

.menu-btn.active:hover {
    background: #45a049 !important;
}

.menu-btn {
    display: block;
    width: 100%;
    padding: 12px 15px;
    margin: 5px 0;
    background: #444;
    color: white;
    border: none;
    border-left: 4px solid transparent;
    border-radius: 0 3px 3px 0;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
}

.menu-btn:hover {
    background: #555;
    border-left-color: #666;
}

.content-area {
    flex: 1;
    padding: 20px;
    background: #ffff;
    overflow-y: auto;
}

#auth-message {
    margin-top: 10px;
    color: red;
}

/* Блок пользователя и кнопка выхода */
.user-panel {
    padding: 10px;
    margin-bottom: 20px;
    background: #222;
    border-radius: 3px;
    text-align: center;
}

#username {
    display: block;
    color: #4CAF50;
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 18px;
}

#logout-btn {
    width: 100%;
    padding: 5px;
    background: #ff4444;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

#logout-btn:hover {
    background: #cc0000;
}


/* Стили для формы активации */
.activation-form {
    max-width: 400px;
    margin: 20px auto;
}

#serial-input {
    width: 85%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 16px;
}

.search-status {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
    height: 20px;
}

.dropdown {
    width: 90%;
    border: 1px solid #ddd;
    border-radius: 3px;
    max-height: 200px;
    overflow-y: auto;
    display: none;
}

.dropdown-item {
    padding: 8px;
    cursor: pointer;
}

.dropdown-item:hover {
    background: #f0f0f0;
}

.check-btn {
    width: 90%;
    padding: 10px;
    margin-top: 10px;
    margin-left: 1px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-weight: bold;
}

.check-btn:disabled {
    background: #cccccc;
    cursor: not-allowed;
}

.check-btn:hover:not(:disabled) {
    background: #45a049;
}

/* Контейнер таблицы */
.table-container {
    max-width: 50%; /* 50% от ширины родителя */
    max-height: 400px;
    overflow-y: auto;
    margin: 20px auto; /* Центрирование */
    border: 1px solid #ddd;
    border-radius: 3px;
    display: none; /* Скрыто по умолчанию */
}

/* Таблица активаций */
.activations-table {
    width: 100%;
    border-collapse: collapse;
}

.activations-table th,
.activations-table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.activations-table th {
    background: #f5f5f5;
    position: sticky;
    top: 0;
}

.activations-table tbody tr:hover {
    background: #f9f9f9;
}

/* Кнопка Make New Activation */
.make-new-btn {
    display: block; /* Чтобы margin: auto работал */
    margin: 20px auto; /* Центрирование */
    padding: 12px 24px;
    background: #2196F3;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-weight: bold;
}

.make-new-btn:hover {
    background: #0b7dda;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .table-container {
        max-width: 95%; /* На мобильных почти вся ширина */
    }
}

.inactive {
    color: #999;
    font-style: italic;
}

.activation-checkbox:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

/* Мониторинг базы данных */
.db-monitor-container {
    max-width: 80%;
    margin: 30px auto;
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    background: #fafafa;
}

.db-status {
    margin-bottom: 15px;
    font-style: italic;
    color: #666;
}

.db-monitor-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.db-monitor-table th,
.db-monitor-table td {
    padding: 8px 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    font-size: 14px;
}

.db-monitor-table th {
    background: #e8e8e8;
    font-weight: bold;
}

.db-monitor-table tbody tr:hover {
    background: #f0f0f0;
}

/* Улучшенные стили для заголовков */
h2 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 28px;
    font-weight: 300;
    color: #2c3e50;
    margin-bottom: 25px;
    text-align: center;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}

/* Контейнер для информации о версиях */
/* Вариант 4: Ultra-Compact */
.version-info-ultra {
    display: inline-flex;
    gap: 20px;
    background: #f5f5f5;
    padding: 8px 16px;
    border-radius: 6px;
    margin: 15px auto;
    font-size: 12px;
}

.version-item-ultra {
    display: flex;
    align-items: center;
    gap: 6px;
}

.version-label-ultra {
    color: #666;
}

.version-value-ultra {
    font-weight: 600;
    color: #333;
    font-family: 'Monaco', monospace;
}

/* Анимация для заголовка */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h2 {
    animation: fadeInUp 0.6s ease-out;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    h2 {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .version-info {
        margin: 20px 10px;
        padding: 15px;
    }

    .version-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .version-value {
        align-self: flex-end;
    }
}

/* Контейнер настроек */
.vag-date-container, .mb-date-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

/* Панель диапазона дат */
.date-range-panel {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #e9ecef;
}

.date-inputs {
    display: flex;
    gap: 20px;
    margin: 15px 0;
}

.input-group {
    flex: 1;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #495057;
}

.date-input {
    width: 94%;
    padding: 10px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 14px;
}

.apply-btn, .reset-btn, .update-btn, .set-btn {
    padding: 10px 20px;
    margin-right: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.apply-btn {
    background: #28a745;
    color: white;
}

.apply-btn:disabled {
    background: #cccccc;
    cursor: not-allowed;
}

.apply-btn:hover:not(:disabled) {
    background: #45a049;
}

.set-btn {
    background: #9E93C9;
    color: white;
}

.reset-btn {
    background: #6c757d;
    color: white;
}

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

.update-btn {
    background: #ffc107;
    color: #212529;
    margin-bottom: 15px;
}

.update-btn:hover {
    background: #e0a800;
}

/* Информация об устройстве */
.device-info {
    margin: 15px 0;
    padding: 0;
    display: flex; /* Добавляем flex */
    justify-content: center; /* Центрируем по горизонтали */
    width: 100%; /* Занимает всю ширину */
}

.device-type {
    display: inline-flex; /* Меняем на inline-flex */
    align-items: center;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    animation: fadeIn 0.3s ease-in;
    text-align: center; /* Центрируем текст */
}

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

/* Стили для Interface */
.device-type.interface {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: 2px solid #5a6fd8;
}

/* Стили для Programmer */
.device-type.programmer {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    border: 2px solid #e66879;
}

/* Стили для Unknown */
.device-type.unknown {
    background: linear-gradient(135deg, #868f96 0%, #596164 100%);
    color: white;
    border: 2px solid #7a8288;
}

.device-icon {
    margin-right: 8px;
    font-size: 16px;
}

.device-text {
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* Контейнер пользователей */
.users-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
}

.user-search-panel {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #e9ecef;
}

.search-input-group {
    position: relative;
}

.search-input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #495057;
}

.search-input {
    width: 94%;
    padding: 12px;
    border: 2px solid #ced4da;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.search-input:focus {
    border-color: #007bff;
    outline: none;
}

/* Детали пользователя */
.user-details-container {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    margin-top: 20px;
}

.user-edit-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

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

.form-group label {
    margin-bottom: 8px;
    font-weight: bold;
    color: #495057;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 10px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 14px;
}

#user-email,
#user-name,
#user-password {
    width: 94%;
}

#user-points {
    width: 10%;
}

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

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.save-btn, .cancel-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

.save-btn {
    background: #28a745;
    color: white;
}

.save-btn:hover {
    background: #218838;
}

.save-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
}

.cancel-btn {
    background: #6c757d;
    color: white;
}

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

/* Сообщение о ненайденном пользователе */
.user-not-found {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 6px;
    padding: 20px;
    margin-top: 20px;
    text-align: center;
}

.user-not-found a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.user-not-found a:hover {
    text-decoration: underline;
}

.session-expired-message {
    font-size: 16px;
    color: red;
    margin-bottom: 25px;
    line-height: 1.5;
}

/* Блок синхронизации */
.sync-container {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.sync-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.sync-icon {
    font-size: 32px;
    animation: pulse 2s infinite;
}

.sync-header h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
}

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

.sync-content p {
    margin: 0 0 20px 0;
    opacity: 0.9;
    font-size: 16px;
    line-height: 1.5;
}

.sync-btn {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.sync-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

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

.sync-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.sync-loader {
    animation: spin 1s linear infinite;
}

.sync-status {
    margin-top: 15px;
    padding: 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    font-size: 14px;
    min-height: 20px;
    transition: all 0.3s ease;
}

.sync-status.success {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.sync-status.error {
    background: rgba(244, 67, 54, 0.2);
    color: #f44336;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

.sync-status.progress {
    background: rgba(33, 150, 243, 0.2);
    color: #2196F3;
    border: 1px solid rgba(33, 150, 243, 0.3);
}

/* Анимации */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

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

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

.sync-container {
    animation: slideIn 0.6s ease-out;
}

/* Адаптивность */
@media (max-width: 768px) {
    .sync-container {
        padding: 20px;
        margin: 15px;
    }

    .sync-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .sync-btn {
        padding: 12px 24px;
        font-size: 14px;
    }
}

/* Прогресс-бар синхронизации */
.sync-progress {
    margin-top: 20px;
    width: 100%;
    animation: fadeIn 0.5s ease;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50, #8BC34A);
    border-radius: 10px;
    transition: width 0.5s ease, background 0.3s ease;
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.4) 50%,
    transparent 100%);
    animation: shimmer 1.5s infinite;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
}

.progress-percentage {
    font-weight: bold;
    font-size: 14px;
}

.progress-status {
    text-align: right;
    flex: 1;
    margin-left: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Результат синхронизации */
.sync-result {
    margin-top: 15px;
    padding: 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    font-size: 14px;
    min-height: 20px;
    transition: all 0.3s ease;
    animation: fadeIn 0.5s ease;
}

.sync-result.success {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.sync-result.error {
    background: rgba(244, 67, 54, 0.2);
    color: #f44336;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

.sync-result.warning {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

/* Анимации */
@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

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

@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(76, 175, 80, 0); }
    100% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0); }
}

/* Цвета для разных состояний прогресса */
.progress-fill.low {
    background: linear-gradient(90deg, #f44336, #ff9800);
}

.progress-fill.medium {
    background: linear-gradient(90deg, #ff9800, #ffeb3b);
}

.progress-fill.high {
    background: linear-gradient(90deg, #4CAF50, #8BC34A);
}

.progress-fill.complete {
    background: linear-gradient(90deg, #4CAF50, #2E7D32);
    animation: pulse-green 2s infinite;
}

/* Адаптивность */
@media (max-width: 768px) {
    .progress-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .progress-status {
        margin-left: 0;
        text-align: left;
    }
}

/* Контейнер логов */
.logs-container {
    max-width: 90%;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Панель управления */
.logs-controls {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    flex-wrap: wrap;
    align-items: end;
}

.log-selector {
    flex: 1;
    min-width: 200px;
}

.log-selector label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #495057;
}

.log-select {
    width: 100%;
    padding: 10px;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    background: white;
    font-size: 14px;
}

.log-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.log-btn {
    padding: 10px 15px;
    border: 2px solid #007bff;
    background: white;
    color: #007bff;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.log-btn:hover {
    background: #007bff;
    color: white;
    transform: translateY(-2px);
}

.log-btn.active {
    background: #007bff;
    color: white;
}

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

.clear-btn:hover {
    background: #dc3545;
    color: white;
}

.toggle-btn.active {
    background: #28a745;
    border-color: #28a745;
}

/* Информация о файле */
.logs-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding: 10px;
    background: #e7f3ff;
    border-radius: 6px;
    font-size: 14px;
    color: #495057;
}

/* Контент логов */
.logs-content {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    background: #1a1a1a;
    margin-bottom: 20px;
    max-height: 600px;
}

.logs-output {
    padding: 15px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 13px;
    line-height: 1.4;
    color: #00ff00;
    background: #000;
    overflow-y: auto;
    max-height: 550px;
    white-space: pre-wrap;
}

/* Стили для разных типов логов */
.log-line {
    margin: 2px 0;
    padding: 2px 5px;
    border-radius: 3px;
}

.log-line.error {
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
}

.log-line.warning {
    color: #ffd93d;
    background: rgba(255, 217, 61, 0.1);
}

.log-line.info {
    color: #4ecdc4;
}

.log-line.debug {
    color: #a0a0a0;
}

.log-line.success {
    color: #6bcf7f;
}

/* Нижняя панель */
.logs-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    flex-wrap: wrap;
    gap: 15px;
}

.logs-stats {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: #495057;
}

.logs-stats span {
    font-weight: 500;
}

.logs-hours {
    width: 35px;
    border: 2px solid #ced4da;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s;
}

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

.logs-auto-refresh input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* Скроллбар */
.logs-output::-webkit-scrollbar {
    width: 8px;
}

.logs-output::-webkit-scrollbar-track {
    background: #2a2a2a;
    border-radius: 4px;
}

.logs-output::-webkit-scrollbar-thumb {
    background: #00ff00;
    border-radius: 4px;
}

.logs-output::-webkit-scrollbar-thumb:hover {
    background: #00cc00;
}

/* Анимации */
@keyframes highlight {
    0% { background-color: rgba(0, 255, 0, 0.3); }
    100% { background-color: transparent; }
}

.new-line {
    animation: highlight 2s ease;
}

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

    .log-actions {
        justify-content: center;
    }

    .logs-bottom {
        flex-direction: column;
        text-align: center;
    }

    .logs-stats {
        justify-content: center;
    }

    .logs-content {
        max-height: 400px;
    }
}

/* Контейнер RH850 */
.rh850-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.vin-search-panel {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #e9ecef;
}

/* Детали автомобиля */
.vehicle-details-container {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    margin-top: 20px;
}

.vehicle-edit-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.vehicle-edit-form input[readonly] {
    background-color: #f8f9fa;
    color: #6c757d;
}

/* Кнопка удаления */
.delete-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
    background: #dc3545;
    color: white;
}

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

.delete-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
}

/* Сообщение о ненайденном автомобиле */
.vehicle-not-found {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 6px;
    padding: 20px;
    margin-top: 20px;
    text-align: center;
}

.vehicle-not-found a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.vehicle-not-found a:hover {
    text-decoration: underline;
}