/* Основные переменные цветов */
:root {
    --primary-color: #2c3e50;     /* Темно-синий/серый */
    --secondary-color: #27ae60;   /* Зеленый */
    --accent-color: #f1c40f;      /* Желтый для акцентов */
    --light-color: #f8f9fa;       /* Светлый фон */
    --dark-color: #343a40;        /* Темный текст */
    --border-color: #dee2e6;      /* Цвет границ */
    --success-color: #27ae60;     /* Цвет успеха */
    --danger-color: #e74c3c;      /* Цвет ошибки */
    --warning-color: #f39c12;     /* Цвет предупреждения */
    --info-color: #3498db;        /* Информационный цвет */
}

/* Базовые стили */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark-color);
    background-color: white;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--primary-color);
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.navbar-inverse {
    background-color: var(--primary-color) !important;
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-inverse .navbar-brand {
    color: white;
    font-weight: 600;
    font-size: 1.5rem;
}

.navbar-inverse .navbar-nav > li > a {
    color: rgba(255,255,255,0.9);
    font-weight: 500;
}

.navbar-inverse .navbar-nav > li > a:hover {
    color: white;
    background-color: rgba(255,255,255,0.1);
}

.btn {
    border: none;
    border-radius: 4px;
    font-weight: 500;
    padding: 10px 20px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 14px;
}

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

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #1a252f;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.btn-success {
    background-color: var(--secondary-color);
    color: white;
}

.btn-success:hover,
.btn-success:focus,
.btn-success:active {
    background-color: #219653;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.btn-outline-primary {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

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

.btn-outline-light {
    border: 2px solid white;
    color: white;
}

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

.btn-secondary {
    background-color: #95a5a6;
    color: white;
}

.btn-secondary:hover {
    background-color: #7f8c8d;
    color: white;
}

.btn-lg {
    padding: 12px 30px;
    font-size: 16px;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 13px;
}

.card {
    border: 1px solid var(--border-color);
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s ease;
    margin-bottom: 20px;
    background-color: white;
}

.card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.card-body {
    padding: 20px;
}

.card-title {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.card-text {
    color: #666;
    margin-bottom: 15px;
}

.form-control {
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 10px 15px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(39, 174, 96, 0.25);
}

.form-check-input:checked {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}
#application-form{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
}
.table {
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
}

.table th {
    background-color: var(--light-color);
    border-bottom: 2px solid var(--border-color);
    font-weight: 600;
    color: var(--primary-color);
    padding: 15px;
}

.table td {
    padding: 15px;
    vertical-align: middle;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: var(--light-color);
}

.badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 12px;
}

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

.badge-success {
    background-color: var(--secondary-color);
    color: white;
}

.badge-danger {
    background-color: var(--danger-color);
    color: white;
}

.badge-warning {
    background-color: var(--warning-color);
    color: white;
}

.alert {
    border: none;
    border-radius: 6px;
    padding: 15px 20px;
    margin-bottom: 20px;
}

.alert-success {
    background-color: rgba(39, 174, 96, 0.1);
    border-left: 4px solid var(--secondary-color);
    color: #155724;
}

.alert-info {
    background-color: rgba(52, 152, 219, 0.1);
    border-left: 4px solid var(--info-color);
    color: #0c5460;
}

.alert-warning {
    background-color: rgba(243, 156, 18, 0.1);
    border-left: 4px solid var(--warning-color);
    color: #856404;
}

.alert-danger {
    background-color: rgba(231, 76, 60, 0.1);
    border-left: 4px solid var(--danger-color);
    color: #721c24;
}

.breadcrumb {
    background-color: transparent;
    padding: 0;
    margin-bottom: 30px;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
}

.footer {
    background-color: var(--primary-color);
    color: rgba(255,255,255,0.8);
    padding: 30px 0;
    margin-top: 50px;
    border-top: 5px solid var(--secondary-color);
}

.footer p {
    margin-bottom: 10px;
}

.container {
    max-width: 1200px;
}

.section {
    padding: 60px 0;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
}

.section-subtitle {
    color: #666;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.hero-section {
    background: linear-gradient(rgba(1,1,1,0.6), rgba(1,1,1,0.6)), url("../../web/media/4-85-783769.webp") center;
    color: white;
    padding: 80px 0;
    margin-bottom: 60px;
    text-align: center;
    transition: all 2s;
}

.hero-section:hover{
    background: linear-gradient(rgba(1,1,1,0.5), rgba(1,1,1,0.5)), url("../../web/media/4-85-783769.webp") center;
    transition: all 2s;
}

.hero-section h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}
.stats-section {
    background-color: var(--light-color);
    padding: 60px 0;
}

.stat-item {
    text-align: center;
    padding: 30px;
}

.stat-item h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-item h5 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.how-it-works {
    background-color: var(--light-color);
    padding: 60px 0;
}

.step-card {
    text-align: center;
    padding: 30px 20px;
}

.step-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 auto 20px;
}

.step-card h4 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.testimonial-card {
    background-color: white;
    padding: 30px;
    border-radius: 6px;
    border-left: 4px solid var(--secondary-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

.testimonial-text {
    font-style: italic;
    color: #666;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stars {
    color: var(--accent-color);
}

.cta-section {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.cta-section h2 {
    color: white;
    margin-bottom: 20px;
}

.cta-section .btn-light {
    background-color: white;
    color: var(--primary-color);
    border: none;
}

.pagination {
    margin-top: 30px;
}

.pagination > li > a,
.pagination > li > span {
    border: 1px solid var(--border-color);
    color: var(--primary-color);
    padding: 5px 10px;
    margin: 0 5px;
    border-radius: 4px;
}

.pagination > li > a:hover {
    background-color: var(--light-color);
    border-color: var(--border-color);
}

.pagination > .active > a,
.pagination > .active > a:focus,
.pagination > .active > a:hover,
.pagination > .active > span,
.pagination > .active > span:focus,
.pagination > .active > span:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.carousel-item img {
    border-radius: 6px;
}

.has-error .form-control {
    border-color: var(--danger-color);
}

.has-error .help-block {
    color: var(--danger-color);
    font-size: 12px;
    margin-top: 5px;
}

.icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-right: 10px;
    vertical-align: middle;
}

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

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

.shadow-sm {
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.shadow-md {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.shadow-lg {
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.border-radius-sm {
    border-radius: 4px;
}

.border-radius-md {
    border-radius: 6px;
}

.border-radius-lg {
    border-radius: 8px;
}

.modal-content {
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.modal-header {
    background-color: var(--primary-color);
    color: white;
    border-radius: 8px 8px 0 0;
    padding: 20px;
}

.modal-title {
    color: white;
    font-weight: 600;
}

.modal-body {
    padding: 30px;
}
@media (max-width: 768px) {
    .hero-section {
        padding: 50px 0;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .btn-lg {
        padding: 10px 20px;
        font-size: 14px;
    }

    .stat-item h2 {
        font-size: 2rem;
    }

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

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 1.75rem;
    }

    .section {
        padding: 40px 0;
    }

    .card-body {
        padding: 15px;
    }
}
.auth-card {
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    width: 100%;
    max-width: 500px;
    padding: 40px;
    margin: 0 auto;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h1 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 10px;
}

.auth-header p {
    color: #666;
    font-size: 1rem;
}

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

.auth-form label {
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 8px;
    display: block;
}

.auth-form .form-control {
    height: auto;
    font-size: 16px;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.auth-form .form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.1);
}

.auth-form .checkbox {
    margin-top: -10px;
    margin-bottom: 20px;
}

.auth-form .checkbox label {
    font-weight: normal;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.auth-form .checkbox input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
}

.auth-form .btn {
    width: 100%;
    height: 48px;
    font-size: 16px;
    font-weight: 600;
    margin-top: 10px;
    text-transform: none;
}

.auth-links {
    margin-top: 25px;
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid var(--border-color);
}

.auth-links a {
    color: #c8fbc9;
    font-weight: 500;
}

.auth-links a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.auth-footer {
    margin-top: 20px;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

.field-required label:after {
    content: " *";
    color: var(--danger-color);
}

.has-error .form-control {
    border-color: var(--danger-color);
}

.has-error .help-block {
    color: var(--danger-color);
    font-size: 13px;
    margin-top: 5px;
    display: block;
}

/* Поле с телефоном и паролем */
.phone-hint {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
    display: block;
}

.password-strength {
    margin-top: 5px;
    font-size: 13px;
}

.password-strength.weak {
    color: var(--danger-color);
}

.password-strength.medium {
    color: var(--warning-color);
}

.password-strength.strong {
    color: var(--success-color);
}

/* Соглашение с правилами */
.agreement {
    background-color: var(--light-color);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 15px;
    margin: 15px 0;
    max-height: 200px;
    overflow-y: auto;
    font-size: 13px;
    line-height: 1.5;
}

.agreement h4 {
    color: var(--primary-color);
    font-size: 14px;
    margin-bottom: 10px;
}

/* Адаптивность для форм */
@media (max-width: 576px) {
    .auth-card {
        padding: 30px 20px;
        margin: 0 15px;
        border: none;
        box-shadow: none;
    }

    .auth-header h1 {
        font-size: 1.75rem;
    }

    .auth-container {
        padding: 20px 0;
        align-items: flex-start;
    }
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.auth-success {
    text-align: center;
    padding: 40px 20px;
}

.auth-success i {
    font-size: 4rem;
    color: var(--success-color);
    margin-bottom: 20px;
}

.auth-success h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.auth-success p {
    color: #666;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.video-background {
    position: absolute;
    right: 0;
    top: 0;
    min-width: 100%;
    width: auto;
    height: 109%;
    z-index: 9;
    background: rgba(1, 1, 1, 0.4) !important;
    overflow: hidden;
}

.video-background:before{
    content: "";
    position: absolute;
    background: rgba(0, 0, 0, 0.36);
    z-index: 10;
    width: 100%;
    height: 100%;

}
#myVideo {
    background: rgba(1,1,1,0.4) !important;
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 8;
    transform: translateX(-50%) translateY(-50%);
}

.auth-container{
    position: absolute;
    width: calc(100% - 100px);
    z-index: 10;
    height: 100%;
    transform: translateY(7%);
    top: 0;
    left: 0;
}

main .container{
    max-width: 100%;
    min-height: 100vh;
    padding: 0;
}

.auth-container .auth-card{
    background: rgba(255,255,255,0.5);
    backdrop-filter: blur(4px);
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
}

.main-container {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

.sidebar {
    width: 70px;
    background-color: #2c3e50;
    color: white;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 1000;
    overflow-y: auto;
    transition: all 0.3s;
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
}

.sidebar-header {
    padding: 25px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.sidebar-header .logo {
    font-size: 24px;
    font-weight: 700;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.sidebar-header .logo:hover {
    color: white;
    text-decoration: none;
}

.sidebar-header .logo i {
    font-size: 28px;
}

.user-info {
    padding: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.user-email {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    word-break: break-all;
    margin-top: 5px;
}

.sidebar-menu {
    padding: 20px 0;
}

.sidebar-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu li {
    margin: 0;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    padding: 15px 25px;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.sidebar-menu a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
    border-left-color: #27ae60;
}

.sidebar-menu a.active {
    background-color: rgba(255,255,255,0.1);
    color: white;
    border-left-color: #27ae60;
}

.sidebar-menu i {
    width: 24px;
    margin-right: 12px;
    font-size: 16px;
    text-align: center;
}

.content-wrapper {
    flex: 1;
    margin-left: 70px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    width: calc(100% - 70px);
}

.content-header {
    background-color: white;
    padding: 20px 30px;
    border-bottom: 1px solid #dee2e6;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.content-header h1 {
    margin: 0;
    font-size: 24px;
    color: #2c3e50;
    font-weight: 600;
}

.content-body {
    flex: 1;
    min-height: 100vh;
    background-color: #f8f9fa;
}

.content-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);

    margin-bottom: 25px;
    height: 100%;
}

.footer {
    background-color: #2c3e50;
    color: rgba(255,255,255,0.8);
    padding: 20px 30px;
    text-align: center;
    border-top: 4px solid #27ae60;
    margin-top: auto;
}

.footer p {
    margin: 5px 0;
    font-size: 14px;
}

/* Хлебные крошки */
.breadcrumb {
    background-color: transparent;
    padding: 0;
    margin-bottom: 20px;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: #6c757d;
}

@media (max-width: 992px) {
    .sidebar-header {
        padding: 20px 10px;
    }

    .sidebar-header .logo span {
        display: none;
    }

    .sidebar:hover .sidebar-header .logo span {
        display: inline;
    }

    .user-info {
        display: none;
    }

    .sidebar:hover .user-info {
        display: block;
    }

    .sidebar-menu a span {
        display: none;
    }

    .sidebar:hover .sidebar-menu a span {
        display: inline;
    }

    .content-wrapper {
        margin-left: 70px;
    }

    .sidebar:hover ~ .content-wrapper {
        margin-left: 250px;
    }
}

@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        width: 250px;
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .content-wrapper {
        margin-left: 0;
    }

    .mobile-menu-toggle {
        display: block;
        position: fixed;
        top: 20px;
        left: 20px;
        z-index: 999;
        background-color: #2c3e50;
        color: white;
        border: none;
        width: 40px;
        height: 40px;
        border-radius: 4px;
        cursor: pointer;
        font-size: 20px;
    }
}

.mobile-menu-toggle {
    display: none;
}

.navbar {
    display: none;
}

.wrap {
    flex: 1;
}

.application-form {
    max-width: 90%;
    margin: 0 auto;
}

.form-section {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 25px;
    margin-bottom: 25px;
    border-left: 4px solid #2c3e50;
}

.form-section h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #dee2e6;
    font-weight: 600;
}

.form-section h3 i {
    margin-right: 10px;
    color: #27ae60;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.form-group {
    padding: 0 10px;
}

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

.form-group label.required:after {
    content: " *";
    color: #e74c3c;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s;
    background-color: white;
}

.form-control:focus {
    border-color: #27ae60;
    box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.1);
    outline: none;
}

.form-control.is-invalid {
    border-color: #e74c3c;
}

.form-control.is-invalid:focus {
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.help-block {
    display: block;
    margin-top: 5px;
    font-size: 13px;
    color: #6c757d;
}

.help-block.error {
    color: #e74c3c;
}

/* Селект с иконкой */
.select-with-icon {
    position: relative;
}

.select-with-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    z-index: 1;
}

.select-with-icon select {
    padding-left: 45px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236c757d' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
}

/* Радио кнопки и чекбоксы */
.radio-group, .checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 10px;
}

.radio-item, .checkbox-item {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.radio-item input[type="radio"],
.checkbox-item input[type="checkbox"] {
    display: none;
}

.radio-item .custom-radio,
.checkbox-item .custom-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid #dee2e6;
    border-radius: 50%;
    margin-right: 10px;
    position: relative;
    transition: all 0.3s;
}

.checkbox-item .custom-checkbox {
    border-radius: 4px;
}

.radio-item input[type="radio"]:checked + .custom-radio {
    border-color: #27ae60;
}

.radio-item input[type="radio"]:checked + .custom-radio:after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: #27ae60;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.checkbox-item input[type="checkbox"]:checked + .custom-checkbox {
    border-color: #27ae60;
    background-color: #27ae60;
}

.checkbox-item input[type="checkbox"]:checked + .custom-checkbox:after {
    content: '✓';
    position: absolute;
    color: white;
    font-size: 12px;
    font-weight: bold;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.radio-item:hover .custom-radio,
.checkbox-item:hover .custom-checkbox {
    border-color: #27ae60;
}

.form-actions {
    display: flex;
    justify-content: flex-start;
    gap: 15px;
    margin-top: 30px;
    padding: 0 20px;
}

.btn {
    padding: 12px 25px;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.btn-primary:hover {
    background-color: #1a252f;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.btn-success {
    background-color: #27ae60;
    color: white;
}

.btn-success:hover {
    background-color: #219653;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.btn-secondary {
    background-color: #95a5a6;
    color: white;
}

.btn-secondary:hover {
    background-color: #7f8c8d;
}

.info-box {
    background-color: #f8f9fa;
    border-left: 4px solid #3498db;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 0 6px 6px 0;
}

.info-box h4 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 16px;
}

.info-box p {
    color: #6c757d;
    margin-bottom: 5px;
    font-size: 14px;
}

/* Календарь */
.date-picker {
    position: relative;
}

.date-picker i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    pointer-events: none;
}

/* Подсветка обязательных полей */
.form-group.required label:after {
    content: " *";
    color: #e74c3c;
}

/* Стили для количества участников */
.participants-input {
    display: flex;
    align-items: center;
    max-width: 200px;
}

.participants-btn {
    width: 40px;
    height: 40px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.participants-btn:hover {
    background-color: #e9ecef;
}

.participants-btn:first-child {
    border-radius: 6px 0 0 6px;
}

.participants-btn:last-child {
    border-radius: 0 6px 6px 0;
}

.participants-input input {
    width: 60px;
    height: 40px;
    border: 1px solid #dee2e6;
    border-left: none;
    border-right: none;
    text-align: center;
    font-weight: 500;
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
    font-family: inherit;
}

@media (max-width: 768px) {
    .form-section {
        padding: 20px;
    }

    .form-row {
        flex-direction: column;
    }

    .form-group {
        width: 100%;
    }

    .form-actions {
        flex-direction: column;
    }

    .form-actions .btn {
        width: 100%;
        margin-bottom: 10px;
    }

    .radio-group, .checkbox-group {
        flex-direction: column;
        gap: 10px;
    }
}

/* Стили для страницы "Мои заявки" */
.my-applications {
    max-width: 1200px;
    margin: 0 auto;
}

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

.page-header h1 {
    color: #2c3e50;
    margin: 0;
    font-weight: 600;
}

.page-actions {
    display: flex;
    gap: 15px;
}

/* Фильтры и поиск */
.applications-filters {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: flex-end;
}

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

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

.filter-select, .filter-input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    font-size: 14px;
    background-color: white;
}

.filter-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236c757d' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
}

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

.application-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 20px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border-left: 4px solid #2c3e50;
}

.application-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.application-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.application-title {
    display: flex;
    align-items: center;
    gap: 15px;
}

.application-icon {
    width: 40px;
    height: 40px;
    background-color: #2c3e50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.application-info h3 {
    margin: 0;
    color: #2c3e50;
    font-weight: 600;
    font-size: 18px;
}

.application-date {
    color: #6c757d;
    font-size: 14px;
    margin-top: 5px;
}

.application-status {
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-new {
    background-color: #e3f2fd;
    color: #1565c0;
    border: 1px solid #bbdefb;
}

.status-processing {
    background-color: #fff3e0;
    color: #f57c00;
    border: 1px solid #ffe0b2;
}

.status-accepted {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.status-rejected {
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

.status-completed {
    background-color: #f3e5f5;
    color: #6a1b9a;
    border: 1px solid #e1bee7;
}

.application-body {
    padding: 20px;
}

.application-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.detail-item {
    display: flex;
    flex-direction: column;
}

.detail-label {
    font-size: 12px;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
    font-weight: 500;
}

.detail-value {
    font-size: 16px;
    color: #2c3e50;
    font-weight: 500;
}

.detail-value .badge {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 12px;
}

.application-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 20px;
}

.btn-review {
    background-color: #27ae60;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-review:hover {
    background-color: #219653;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(39, 174, 96, 0.2);
}

.btn-review:disabled {
    background-color: #95a5a6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Пустое состояние */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.empty-state i {
    font-size: 60px;
    color: #dee2e6;
    margin-bottom: 20px;
}

.empty-state h3 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 600;
}

.empty-state p {
    color: #6c757d;
    margin-bottom: 25px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.applications-pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.pagination {
    display: flex;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-item {
    display: inline-block;
}

.page-link {
    display: block;
    padding: 10px 15px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    color: #2c3e50;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
    min-width: 40px;
    text-align: center;
}

.page-link:hover {
    background-color: #f8f9fa;
    border-color: #2c3e50;
}

.page-item.active .page-link {
    background-color: #2c3e50;
    color: white;
    border-color: #2c3e50;
}

.page-item.disabled .page-link {
    color: #dee2e6;
    pointer-events: none;
    background-color: #f8f9fa;
}

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

.modal-content {
    background-color: white;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
}

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

.modal-header h3 {
    margin: 0;
    color: #2c3e50;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #6c757d;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.modal-close:hover {
    background-color: #f8f9fa;
    color: #2c3e50;
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    padding: 20px;
    border-top: 1px solid #dee2e6;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* Звезды рейтинга */
.rating-stars {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
}

.star {
    font-size: 30px;
    color: #dee2e6;
    cursor: pointer;
    transition: color 0.2s;
}

.star.active {
    color: #f1c40f;
}

.star:hover,
.star:hover ~ .star {
    color: #f1c40f;
}

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

    .page-actions {
        width: 100%;
        flex-direction: column;
    }

    .page-actions .btn {
        width: 100%;
    }

    .application-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .application-status {
        align-self: flex-start;
    }

    .application-details {
        grid-template-columns: 1fr;
    }

    .application-actions {
        flex-direction: column;
    }

    .application-actions .btn {
        width: 100%;
        text-align: center;
    }

    .filter-form {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-group {
        min-width: 100%;
    }
}