main > .container {
    padding: 70px 15px 20px;
}

/* Основные стили для страницы авторизации */
.site-login {
    min-height: 80vh;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
}

/* Фоновые декоративные элементы */
.site-login::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="%234299e1" opacity="0.05"/><path d="M0,0 L0,100 L100,100 Z" fill="%2334d399" opacity="0.05"/></svg>');
    background-size: cover;
    z-index: 0;
}

.site-login > * {
    position: relative;
    z-index: 1;
}

/* Заголовок */
.site-login h1 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    position: relative;
    padding-bottom: 15px;
}

.site-login h1::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    border-radius: 2px;
}

/* Текст под заголовком */
.site-login > p {
    text-align: center;
    color: #546e7a;
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Контейнер формы */
.site-login .row {
    display: flex;
    justify-content: center;
    align-items: center;
}

.site-login .col-lg-5 {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(41, 128, 185, 0.15);
    border: 1px solid rgba(52, 152, 219, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.site-login .col-lg-5:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(41, 128, 185, 0.2);
}

/* Стили для формы */
#login-form {
    position: relative;
}

/* Поля формы */
.form-control {
    border: 2px solid #e3f2fd;
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: #f8fafc;
}

.form-control:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
    background-color: white;
}

.form-control::placeholder {
    color: #90a4ae;
}

/* Лейблы */
.col-form-label {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

/* Чекбокс "Запомнить меня" */
.custom-control.custom-checkbox {
    margin: 20px 0;
    padding-left: 0;
}

.custom-control-input:checked ~ .custom-control-label::before {
    background-color: #3498db;
    border-color: #3498db;
}

.custom-control-label {
    color: #546e7a;
    cursor: pointer;
    padding-left: 30px;
    position: relative;
}

.custom-control-label::before {
    border-radius: 4px;
    border: 2px solid #bdc3c7;
}

/* Кнопка входа */
.btn-primary {
    background: linear-gradient(135deg, #3498db, #2980b9);
    border: none;
    border-radius: 10px;
    padding: 12px 40px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    display: block;
    width: 100%;
    margin-bottom: 20px;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2980b9, #1f639e);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

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

/* Ссылка на регистрацию */
.form-group a {
    color: #3498db;
    text-decoration: none;
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid #3498db;
    border-radius: 10px;
    text-align: center;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 100%;
    background: linear-gradient(to right, transparent 50%, #3498db 50%);
    background-size: 200% 100%;
    background-position: right bottom;
}

.form-group a:hover {
    color: white;
    text-decoration: none;
    background-position: left bottom;
    border-color: #2980b9;
}

/* Сообщения об ошибках */
.invalid-feedback {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 5px;
    padding-left: 5px;
}

/* Декоративные элементы на тему туризма */
.site-login .col-lg-5::before {
    content: "✈";
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 100px;
    opacity: 0.1;
    color: #3498db;
    transform: rotate(15deg);
    z-index: -1;
}

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

    .site-login .col-lg-5 {
        padding: 30px 20px;
        margin: 0 10px;
    }

    .site-login h1 {
        font-size: 1.8rem;
    }
}

/* Анимации */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.site-login .col-lg-5 {
    animation: fadeIn 0.6s ease-out;
}

/* Дополнительные декоративные элементы */
.site-login .form-group {
    position: relative;
}

/* Основные стили для страницы регистрации */
.reg {
    min-height: 90vh;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    padding: 60px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Фоновые декоративные элементы в тему туризма */
.reg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
            radial-gradient(circle at 10% 20%, rgba(255,255,255,0.05) 0%, transparent 20%),
            radial-gradient(circle at 90% 80%, rgba(255,255,255,0.05) 0%, transparent 20%),
            linear-gradient(45deg, transparent 48%, rgba(46, 204, 113, 0.1) 50%, transparent 52%),
            linear-gradient(-45deg, transparent 48%, rgba(52, 152, 219, 0.1) 50%, transparent 52%);
    background-size: 300px 300px, 300px 300px, 50px 50px, 50px 50px;
    z-index: 0;
}

.reg::after {
    content: "🗺 ⛰ 🏕 🚗";
    position: absolute;
    font-size: 40px;
    opacity: 0.1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    letter-spacing: 50px;
    z-index: 0;
}

/* Контейнер формы */
.reg > .col-lg-5 {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 50px 40px;
    border-radius: 25px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    animation: slideUp 0.6s ease-out;
}

.reg > .col-lg-5:hover {
    transform: translateY(-10px);
    box-shadow: 0 35px 60px rgba(0, 0, 0, 0.3);
}

/* Заголовок */
.zagolovok {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.zagolovok h2 {
    color: #2c3e50;
    font-weight: 700;
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.zagolovok h2::before {
    content: "🎒";
    position: absolute;
    left: -50px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    opacity: 0.5;
}

.zagolovok h2::after {
    content: "🏔";
    position: absolute;
    right: -50px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    opacity: 0.5;
}

.zagolovok h2::after,
.zagolovok h2::before {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(-50%); }
    50% { transform: translateY(-60%); }
}

/* Форма */
#login-form {
    max-width: 500px;
    margin: 0 auto;
}

/* Группы полей формы */
.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group label {
    color: #34495e;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Поля ввода */
.form-control {
    border: 2px solid #e0e6ed;
    border-radius: 12px;
    padding: 15px 20px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    color: #2c3e50;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
}

.form-control:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.15), inset 0 2px 4px rgba(0,0,0,0.05);
    background: white;
    transform: translateY(-2px);
}

.form-control::placeholder {
    color: #95a5a6;
    font-style: italic;
}

/* Особые стили для маскированных полей */
input[data-masked] {
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
}

/* Специальные подсказки для полей */
.form-group:nth-child(1) .form-control::placeholder { content: "Например: Путешественников"; }
.form-group:nth-child(2) .form-control::placeholder { content: "Например: Иван"; }
.form-group:nth-child(3) .form-control::placeholder { content: "Например: Петрович"; }

/* Чекбокс согласия */
.form-check {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 20px;
    border-radius: 15px;
    border: 2px solid #e0e6ed;
    margin-top: 30px;
    transition: all 0.3s ease;
}

.form-check:hover {
    border-color: #3498db;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
}

.form-check-input {
    width: 22px;
    height: 22px;
    margin-right: 15px;
    cursor: pointer;
    border: 2px solid #95a5a6;
}

.form-check-input:checked {
    background-color: #2ecc71;
    border-color: #27ae60;
}

.form-check-label {
    color: #2c3e50;
    font-weight: 500;
    cursor: pointer;
    font-size: 15px;
    line-height: 1.5;
}

/* Основные стили для страницы списка заявок */
.application-index {
    min-height: 85vh;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 40px 20px;
    position: relative;
    overflow-x: auto;
}

/* Декоративный фон с элементами путешествий */
.application-index::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
            radial-gradient(circle at 20% 30%, rgba(52, 152, 219, 0.05) 0%, transparent 50%),
            radial-gradient(circle at 80% 70%, rgba(46, 204, 113, 0.05) 0%, transparent 50%),
            url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,50 Q25,30 50,50 T100,50 L100,100 L0,100 Z" fill="%233498db" opacity="0.03"/></svg>');
    background-size: auto, auto, cover;
    z-index: 0;
}

/* Заголовок страницы */
.application-index h1 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 800;
    position: relative;
    padding-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.application-index h1::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 5px;
    background: linear-gradient(90deg, #3498db, #2ecc71, #3498db);
    border-radius: 3px;
    background-size: 200% 100%;
    animation: gradientMove 3s ease infinite;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Контейнер таблицы */
.table-responsive {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(41, 128, 185, 0.15);
    position: relative;
    z-index: 1;
    border: 1px solid rgba(52, 152, 219, 0.1);
    overflow: hidden;
}

.table-responsive::before {
    content: "🗺 📋 ✈ 🏔";
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 40px;
    opacity: 0.05;
    letter-spacing: 20px;
}

/* Стили для таблицы */
.table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    font-size: 14px;
}

.table thead {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    position: sticky;
    top: 0;
    z-index: 10;
}

.table thead th {
    padding: 18px 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border: none;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.table thead th:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.table thead th::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
}

.table tbody tr {
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}

.table tbody tr:hover {
    background: linear-gradient(90deg, rgba(52, 152, 219, 0.05) 0%, rgba(46, 204, 113, 0.05) 100%);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.table tbody td {
    padding: 16px 15px;
    border: none;
    vertical-align: middle;
    color: #2c3e50;
    position: relative;
}

/* Стили для разных статусов */
.table tbody td:nth-child(8) {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
    padding: 8px 12px;
    border-radius: 20px;
    display: inline-block;
    margin: 5px;
}

/* Стили для конкретных статусов */
.table tbody td:nth-child(8):contains("новый") {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
}

.table tbody td:nth-child(8):contains("подтвержден") {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: white;
}

.table tbody td:nth-child(8):contains("отменен") {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
}

.table tbody td:nth-child(8):contains("в процессе") {
    background: linear-gradient(135deg, #f39c12 0%, #d35400 100%);
    color: white;
}

/* Стили для столбца с действиями */
.action-column {
    min-width: 120px;
}

.action-column a {
    display: inline-block;
    margin: 0 5px;
    padding: 8px 12px;
    border-radius: 10px;
    color: white !important;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.action-column a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.action-column a::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.action-column a:hover::before {
    left: 100%;
}

/* Цвета для разных действий */
.action-column a[title="View"] {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

.action-column a[title="Update"] {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
}

.action-column a[title="Delete"] {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

/* Стили для фильтров */
.filters {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border: 1px solid #e0e6ed;
}

.filters input,
.filters select {
    border: 2px solid #e0e6ed;
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: white;
}

.filters input:focus,
.filters select:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

/* Стили для пагинации */
.pagination {
    justify-content: center;
    margin-top: 30px;
}

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border-color: #3498db;
    transform: scale(1.1);
}

.pagination .page-link {
    border: 2px solid #e0e6ed;
    color: #3498db;
    margin: 0 5px;
    border-radius: 10px;
    padding: 10px 18px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.pagination .page-link:hover {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    border-color: #3498db;
    transform: translateY(-3px);
}

/* Сортировка */
.sort-link {
    color: white !important;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sort-link:hover {
    color: rgba(255, 255, 255, 0.9) !important;
}

.sort-link .caret {
    border-top: 4px solid rgba(255, 255, 255, 0.7);
    margin-left: 5px;
}

/* Стили для ячеек с длинным текстом */
.table td {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    position: relative;
}

.table td:hover {
    overflow: visible;
    white-space: normal;
    background: white;
    z-index: 100;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Специальные стили для столбцов */
.table td:nth-child(2) { /* place_tour */
    color: #3498db;
    font-weight: 600;
}

.table td:nth-child(3) { /* date_tour */
    font-family: 'Courier New', monospace;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
    text-align: center;
}

.table td:nth-child(4) { /* count_people */
    text-align: center;
    font-weight: 600;
    color: #2c3e50;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-radius: 8px;
}

.table td:nth-child(5) { /* payment_method */
    text-align: center;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
}

/* Декоративные элементы для таблицы */
.table tbody tr:nth-child(even) {
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
}

.table tbody tr:nth-child(even):hover {
    background: linear-gradient(90deg, rgba(52, 152, 219, 0.08) 0%, rgba(46, 204, 113, 0.08) 100%);
}

/* Индикатор загрузки */
.table::after {
    content: "🔄 Загрузка данных о турах...";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #3498db;
    font-size: 18px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.table.loading::after {
    opacity: 1;
}

/* Адаптивность */
@media (max-width: 1200px) {
    .table-responsive {
        padding: 20px;
    }

    .table {
        font-size: 13px;
    }

    .table thead th,
    .table tbody td {
        padding: 12px 10px;
    }
}

@media (max-width: 768px) {
    .application-index {
        padding: 20px 10px;
    }

    .application-index h1 {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .table-responsive {
        padding: 15px;
        border-radius: 15px;
    }

    .action-column a {
        display: block;
        margin: 5px 0;
        text-align: center;
    }

    .pagination .page-link {
        padding: 8px 12px;
        margin: 2px;
    }
}

@media (max-width: 576px) {
    .table thead {
        display: none;
    }

    .table tbody tr {
        display: block;
        margin-bottom: 20px;
        border: 2px solid #e0e6ed;
        border-radius: 15px;
        padding: 15px;
        background: white;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

    .table tbody td {
        display: block;
        text-align: right;
        padding: 10px 15px;
        border-bottom: 1px solid #f0f0f0;
    }

    .table tbody td::before {
        content: attr(data-label);
        float: left;
        font-weight: bold;
        text-transform: uppercase;
        color: #3498db;
        font-size: 12px;
    }

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

/* Анимации */
@keyframes fadeInRow {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.table tbody tr {
    animation: fadeInRow 0.5s ease-out forwards;
    animation-delay: calc(var(--row-index) * 0.1s);
}

/* Стили для кнопок действий в ячейках */
.action-column {
    position: relative;
}

.action-column .btn-group {
    display: flex;
    gap: 5px;
}

.action-column .btn {
    min-width: 80px;
    text-align: center;
}

/* Инфо-блок */
.empty {
    text-align: center;
    padding: 60px 20px;
    color: #95a5a6;
    font-size: 18px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    margin: 20px 0;
}

.empty::before {
    content: "📋";
    font-size: 60px;
    display: block;
    margin-bottom: 20px;
    opacity: 0.5;
}
/* Карточки заявок */
.application-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: cardAppear 0.6s ease-out forwards;
    opacity: 0;
}

@keyframes cardAppear {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Задержка анимации для каждой карточки */
.application-card:nth-child(1) { animation-delay: 0.1s; }
.application-card:nth-child(2) { animation-delay: 0.2s; }
.application-card:nth-child(3) { animation-delay: 0.3s; }
.application-card:nth-child(4) { animation-delay: 0.4s; }
.application-card:nth-child(5) { animation-delay: 0.5s; }

/* Эффект при наведении на карточку */
.application-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(102, 126, 234, 0.4);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Декоративный уголок */
.application-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 80px 80px 0;
    border-color: transparent rgba(255, 255, 255, 0.2) transparent transparent;
    border-radius: 0 0 0 10px;
}

/* Номер заявки в уголке */
.application-card::after {
    content: attr(data-number);
    position: absolute;
    top: 10px;
    right: 10px;
    color: white;
    font-weight: bold;
    font-size: 14px;
    z-index: 2;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

/* Стили для текста внутри карточки */
.application-card p {
    margin: 15px 0;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    border-left: 4px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    padding-left: 60px;
    min-height: 20px;
}

/* Эффект при наведении на поле */
.application-card p:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Иконки для полей */
.application-card p::before {
    content: "";
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
}

/* Конкретные иконки для каждого типа поля */
.application-card p:nth-of-type(1)::before { content: "📍"; } /* Место тура */
.application-card p:nth-of-type(2)::before { content: "📅"; } /* Дата тура */
.application-card p:nth-of-type(3)::before { content: "👥"; } /* Кол-во участников */
.application-card p:nth-of-type(4)::before { content: "📝"; } /* Дополнительно */
.application-card p:nth-of-type(5)::before { content: "💬"; } /* Комментарий */
.application-card p:nth-of-type(6)::before { content: "💰"; } /* Способ оплаты */
.application-card p:nth-of-type(7)::before { content: "📊"; } /* Статус */

/* Особый стиль для статуса */
.application-card p:last-of-type {
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-align: center;
    border-radius: 50px;
    padding: 15px;
    border-left: none;
    margin-top: 25px;
    font-size: 14px;
}

/* Цвета для разных статусов */
.application-card p:last-of-type:contains("новый") {
    background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);
    color: #333;
    animation: pulse 2s infinite;
}

.application-card p:last-of-type:contains("подтвержден") {
    background: linear-gradient(135deg, #00b09b 0%, #96c93d 100%);
    color: white;
}

.application-card p:last-of-type:contains("отменен") {
    background: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%);
    color: white;
}

.application-card p:last-of-type:contains("в процессе") {
    background: linear-gradient(135deg, #f7971e 0%, #ffd200 100%);
    color: white;
}

/* Анимация пульсации для новых заявок */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 154, 158, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(255, 154, 158, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 154, 158, 0);
    }
}

/* Декоративные элементы карточки */
.application-card .card-decoration {
    position: absolute;
    font-size: 60px;
    opacity: 0.1;
    z-index: 0;
}

.application-card .decoration-1 {
    top: 10px;
    right: 20px;
    content: "✈";
}

.application-card .decoration-2 {
    bottom: 10px;
    left: 20px;
    content: "🏔";
}

/* Кнопка создания новой заявки */
.new-application-btn {
    display: inline-block;
    padding: 18px 45px;
    background: linear-gradient(135deg, #00b09b 0%, #96c93d 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 176, 155, 0.3);
    position: relative;
    overflow: hidden;
    margin-top: 20px;
    border: none;
    cursor: pointer;
}

/* Иконка плюса */
.new-application-btn::before {
    content: "➕";
    position: absolute;
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    transition: all 0.3s ease;
}

/* Эффект при наведении на кнопку */
.new-application-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 176, 155, 0.4);
    color: white;
    text-decoration: none;
}

.new-application-btn:hover::before {
    left: 30px;
}

/* Блестящий эффект при наведении */
.new-application-btn::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.2) 50%, transparent 70%);
    transform: rotate(45deg);
    transition: all 0.6s ease;
}

.new-application-btn:hover::after {
    transform: rotate(45deg) translate(50%, 50%);
}

/* Эффект нажатия */
.new-application-btn:active {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 15px 25px rgba(0, 176, 155, 0.3);
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .application-card {
        padding: 20px;
        margin-bottom: 20px;
    }

    .application-card p {
        padding: 10px 15px 10px 50px;
        font-size: 14px;
        margin: 10px 0;
    }

    .application-card p::before {
        left: 15px;
        font-size: 18px;
    }

    .application-card p:last-of-type {
        padding: 12px;
        font-size: 13px;
    }

    .new-application-btn {
        padding: 15px 35px;
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .application-card {
        border-radius: 15px;
        padding: 15px;
    }

    .application-card p {
        padding: 8px 12px 8px 45px;
        font-size: 13px;
    }

    .new-application-btn {
        padding: 12px 30px;
        font-size: 14px;
        width: 100%;
        text-align: center;
    }

    .application-card:hover {
        transform: translateY(-5px) scale(1.01);
    }
}

/* Эффект выделения для длинного текста */
.application-card p:nth-of-type(4),
.application-card p:nth-of-type(5) {
    cursor: pointer;
    transition: all 0.3s ease;
    max-height: 60px;
    overflow: hidden;
}

.application-card p:nth-of-type(4):hover,
.application-card p:nth-of-type(5):hover {
    max-height: 300px;
    overflow-y: auto;
}

/* Индикатор для развертываемых полей */
.application-card p:nth-of-type(4)::after,
.application-card p:nth-of-type(5)::after {
    content: "📖";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.application-card p:nth-of-type(4):hover::after,
.application-card p:nth-of-type(5):hover::after {
    opacity: 1;
}

/* Кастомный скроллбар для развернутых полей */
.application-card p::-webkit-scrollbar {
    width: 6px;
}

.application-card p::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.application-card p::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}



.application-card p::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}
/* Счетчик заявок */
.summary {
    text-align: center;
    color: #3498db;
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 16px;
    padding: 15px;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-radius: 15px;
    border: 2px solid #3498db;
}

.summary::before {
    content: "📊 ";
    font-size: 20px;
}

.btn-primary {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 400;
    text-align: center;
    text-transform: uppercase;
    color: white;
    transition: all 0.4s ease;
    box-shadow: 0 10px 20px rgba(52, 152, 219, 0.3);
    position: relative;
    overflow: hidden;
    min-width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}


.btn-primary:hover {
    background: linear-gradient(135deg, #2980b9 0%, #1f639e 100%);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(52, 152, 219, 0.4);
}

.btn-primary:hover::before {
    left: 20px;
    opacity: 1;
}

.btn-primary::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    transform: rotate(45deg);
    transition: all 0.6s ease;
}

.btn-primary:hover::after {
    transform: rotate(45deg) translate(50%, 50%);
}

/* Ссылка на авторизацию */
.form-group a {
    color: #3498db;
    text-decoration: none;
    padding: 15px 30px;
    border: 2px solid #3498db;
    border-radius: 12px;
    font-weight: 300;
    transition: all 0.3s ease;
    margin-left: 30px;
    background: white;
    text-align: center;
    min-width: 200px;
}

.form-group a:hover {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    border-color: #2980b9;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}


/* Декоративные элементы формы */
#login-form::before {
    content: "✈";
    position: absolute;
    top: -30px;
    right: -30px;
    font-size: 80px;
    opacity: 0.1;
    color: #3498db;
    transform: rotate(25deg);
    z-index: -1;
}

#login-form::after {
    content: "⛺";
    position: absolute;
    bottom: -30px;
    left: -30px;
    font-size: 70px;
    opacity: 0.1;
    color: #2ecc71;
    transform: rotate(-15deg);
    z-index: -1;
}

/* Анимация появления формы */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Стили для валидации */
.field-loginform-email.has-error .form-control {
    border-color: #e74c3c;
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
}

.field-loginform-password.has-error .form-control {
    border-color: #e74c3c;
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
}

/* Адаптивность */
@media (max-width: 992px) {
    .reg > .col-lg-5 {
        width: 90%;
        padding: 40px 30px;
    }

    .d-flex {
        flex-direction: column;
        align-items: center;
    }

    .form-group a {
        margin-left: 0;
        margin-top: 20px;
    }

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

    .form-group a {
        width: 100%;
        min-width: auto;
    }
}

@media (max-width: 768px) {
    .reg {
        padding: 30px 15px;
    }

    .zagolovok h2 {
        font-size: 2rem;
    }

    .zagolovok h2::before,
    .zagolovok h2::after {
        display: none;
    }

    .form-control {
        padding: 12px 15px;
    }
}

/* Дополнительные декоративные элементы */
.reg .col-lg-5::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 2px solid rgba(52, 152, 219, 0.1);
    border-radius: 20px;
    pointer-events: none;
    z-index: -1;
}

/* Стили для успешного заполнения полей */
.form-control:valid:not(:placeholder-shown) {
    border-color: #2ecc71;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
}

/* Плавающие лейблы эффект */
.form-group {
    position: relative;
}

.form-group label {
    transition: all 0.3s ease;
    transform-origin: left center;
}

.form-control:focus + label,
.form-control:not(:placeholder-shown) + label {
    transform: translateY(-30px) scale(0.9);
    color: #3498db;
}

.site-login .form-group::after {
    content: "⛰";
    position: absolute;
    bottom: -40px;
    left: -30px;
    font-size: 60px;
    opacity: 0.08;
    transform: rotate(-10deg);
}

.site-login .form-group::before {
    content: "🏕";
    position: absolute;
    top: -20px;
    right: -30px;
    font-size: 50px;
    opacity: 0.08;
    transform: rotate(10deg);
}

.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.form-group {
    margin-bottom: 1rem;
}