/* СТРАНИЦА index.html */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Druk Wide Bold Trial', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #181c3f;
    color: #181c3f;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    display: flex;
    width: 100%;
    max-width: 1200px;
    height: 700px;
    background-color: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(24, 28, 63, 0.15);
}

/* Левая часть - форма авторизации */
.auth-section {
    flex: 1;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-container {
    margin-bottom: 40px;
    text-align: center;
}

.logo-placeholder {
    width: 180px;
    height: 80px;
    margin: 0 auto 15px;
    background-color: #f2f2f2;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #bbbbbb;
    font-size: 14px;
    border: 2px dashed #bbbbbb;
}

.logo-placeholder i {
    font-size: 28px;
    margin-right: 10px;
    color: #ff6600;
}

.auth-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #181c3f;
}

.auth-subtitle {
    color: #bbbbbb;
    margin-bottom: 40px;
    font-size: 16px;
}

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

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

.form-group label {
    font-weight: 600;
    color: #181c3f;
    font-size: 14px;
}

.form-group input {
    padding: 15px;
    border: 2px solid #f2f2f2;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #ff6600;
    box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.1);
}

.btn {
    padding: 17px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.btn-primary {
    background-color: #ff6600;
    color: white;
}

.btn-primary:hover {
    background-color: #e55a00;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 102, 0, 0.2);
}

.forgot-password {
    text-align: center;
    margin-top: 10px;
}

.forgot-password a {
    color: #ff6600;
    text-decoration: none;
    font-weight: 500;
}

.forgot-password a:hover {
    text-decoration: underline;
}

/* Правая часть - с фоном изображения */
.info-section {
    flex: 1;
    background: linear-gradient(135deg, rgba(24, 28, 63, 0.8) 0%, rgba(42, 48, 101, 0.8) 100%);
    color: white;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Фоновое изображение */
.info-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/bebra.jpg');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

/* Затемнение поверх изображения для лучшей читаемости текста */
.info-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(24, 28, 63, 0.8) 0%, rgba(42, 48, 101, 0.8) 100%);
    z-index: 2;
}

.info-content {
    position: relative;
    z-index: 3; /* Поверх всех слоев */
}

.info-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 30px;
}

.info-title span {
    color: #ff6600;
}

.info-text {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
    color: #bbbbbb;
}

.features-list {
    list-style-type: none;
    margin-bottom: 40px;
    padding: 0;
}

.features-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    font-size: 16px;
}

.features-list i {
    color: #ff6600;
    font-size: 18px;
    width: 28px;
    text-align: center;
    margin-right: 12px;
    flex-shrink: 0;
}

.contact-info {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: #bbbbbb;
}

/* Модальное окно */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(24, 28, 63, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background-color: white;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    padding: 40px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    color: #bbbbbb;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover {
    color: #ff6600;
}

.modal-title {
    font-size: 28px;
    font-weight: 700;
    color: #181c3f;
    margin-bottom: 10px;
}

.modal-subtitle {
    color: #bbbbbb;
    margin-bottom: 30px;
}

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

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

.form-row .form-group {
    flex: 1;
}

/* Адаптивность */
@media (max-width: 900px) {
    .container {
        flex-direction: column;
        height: auto;
        max-width: 600px;
    }
    
    .auth-section, .info-section {
        padding: 40px 30px;
    }
    
    .info-section {
        min-height: 500px; /* Минимальная высота для мобильных */
    }
    
    .info-title {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .form-row {
        flex-direction: column;
        gap: 20px;
    }
    
    .auth-title, .modal-title {
        font-size: 24px;
    }
    
    .info-title {
        font-size: 28px;
    }
}

:root {
    --primary-orange: #ff6600;
    --primary-orange-hover: #e55a00;
    --primary-dark: #4553d4;
    --white: #ffffff;
    --light-bg: #F8FAFF;
    --border-color: #e9ecef;
    --text-muted: #6c757d;
    --orange-soft: rgba(255, 102, 0, 0.1);
    --primary-blue: #181c3f;
}

/* Общие стили для основного приложения */
body.main-app {
    background: linear-gradient(135deg, #F8FAFF, #F0F5FF);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
}

/* Кастомные карточки */
.custom-card {
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

/* Кнопки */
.btn-custom-primary {
    background-color: var(--primary-orange);
    border: none;
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s;
}

.btn-custom-primary:hover {
    background-color: var(--primary-orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 102, 0, 0.2);
    color: var(--white);
}

.btn-custom-outline {
    background: transparent;
    border: 2px solid var(--primary-orange);
    color: var(--primary-orange);
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s;
}

.btn-custom-outline:hover {
    background: var(--primary-orange);
    color: var(--white);
}

/* Навигационные вкладки */
.nav-tab {
    background: none;
    border: none;
    padding: 1rem 1.5rem;
    color: var(--text-muted);
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
    cursor: pointer;
}

.nav-tab.active {
    color: var(--primary-orange);
}

.nav-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-orange);
    border-radius: 3px 3px 0 0;
}

.nav-tab:hover {
    color: var(--primary-orange);
}

/* Бренд логотип */
.brand-logo {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-orange), #ff8533);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
}

/* Уведомления */
.notification-bell {
    cursor: pointer;
}

.notification-badge {
    top: -5px;
    right: -5px;
    background: var(--primary-orange);
    color: white;
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
}

/* Аватар пользователя */
.user-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-dark), #2a3065);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
}

/* Панель быстрого доступа */
.quick-access-panel {
    background: linear-gradient(135deg, var(--primary-dark), #2a3065);
    border-radius: 20px;
    color: white;
}

/* ========== СТИЛИ ДЛЯ ФОРМ ========== */

/* Стили для всех выпадающих списков (селектов) */
.form-select.form-control-custom {
    background-color: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: all 0.3s;
    color: #212529;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.form-select.form-control-custom:focus {
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.1);
    outline: 0;
}

.form-select.form-control-custom:hover {
    border-color: var(--primary-orange);
    cursor: pointer;
}

.form-select.form-control-custom option {
    background-color: var(--white);
    color: #212529;
    padding: 0.5rem;
}

/* Стили для полей ввода */
.form-control.form-control-custom {
    background-color: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: all 0.3s;
    color: #212529;
}

.form-control.form-control-custom:focus {
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.1);
    outline: 0;
}

/* Стили для группы ввода с календарем */
.input-group .form-control-custom {
    border-right: none;
}

.input-group .input-group-text {
    background-color: var(--white);
    border: 2px solid var(--border-color);
    border-left: none;
    border-radius: 0 10px 10px 0;
    cursor: pointer;
}

.input-group .input-group-text i {
    font-size: 1.1rem;
    color: var(--primary-orange);
}

/* Стили для аккордеона */
.accordion-item {
    border: 2px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
}

.accordion-button {
    background-color: #f8f9fa;
    font-weight: 600;
    color: var(--primary-orange);
}

.accordion-button:not(.collapsed) {
    background-color: var(--orange-soft);
    color: var(--primary-orange);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--primary-orange);
}

/* ========== КОНЕЦ СТИЛЕЙ ДЛЯ ФОРМ ========== */

/* Карточки прицепов */
.trailer-card {
    transition: transform 0.3s;
}

.trailer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(24, 28, 63, 0.1);
}

/* Модальные окна */
.modal-custom .modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.modal-custom .modal-header {
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem;
}

.modal-custom .modal-body {
    padding: 1.5rem;
}

/* Область загрузки фото */
.photo-upload-area {
    border: 3px dashed var(--border-color);
    border-radius: 15px;
    padding: 3rem 2rem;
    cursor: pointer;
    transition: all 0.3s;
}

.photo-upload-area:hover {
    border-color: var(--primary-orange);
    background: var(--orange-soft);
}

/* Превью фото */
.photo-preview {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.photo-preview img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.photo-preview .btn-danger {
    opacity: 0;
    transition: opacity 0.3s;
}

.photo-preview:hover .btn-danger {
    opacity: 1;
}

/* Статусы заказов */
.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.status-active {
    background: #d4edda;
    color: #155724;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-completed {
    background: #cce5ff;
    color: #004085;
}

/* Адаптивность */
@media (max-width: 768px) {
    .nav-tab {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .btn-custom-primary,
    .btn-custom-outline {
        padding: 0.5rem 1rem;
    }
}
/* Добавьте в ваш файл style.css */

/* Иконки для карточек прицепов */
.trailer-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--orange-soft), transparent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.trailer-card:hover .trailer-icon {
    transform: scale(1.05);
    background: linear-gradient(135deg, var(--orange-soft), rgba(255, 102, 0, 0.2));
}

/* Стили для вкладок с иконками */
.nav-tab i {
    font-size: 1.1rem;
    transition: transform 0.3s;
}

.nav-tab:hover i {
    transform: translateY(-2px);
}

.nav-tab.active i {
    color: var(--primary-orange);
}

/* Дополнительные иконки для карточек */
.trailer-card .bi-truck-front,
.trailer-card .bi-truck-flatbed {
    font-size: 2rem;
    transition: transform 0.3s;
}

.trailer-card:hover .bi-truck-front,
.trailer-card:hover .bi-truck-flatbed {
    transform: translateX(5px);
}