:root {
    --primary-blue: #4aa5e7;
    --primary-red: #840032;
    --light-blue: #e8f4fc;
    --light-red: #fff0f5;
}

body {
    background: linear-gradient(135deg, var(--light-blue) 0%, #ffffff 100%);
    min-height: 100vh;
}

.navbar {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-red) 100%) !important;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

.btn-primary {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.btn-primary:hover {
    background-color: #3a8fd4;
    border-color: #3a8fd4;
}

.btn-danger {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
}

.btn-danger:hover {
    background-color: #73002b;
    border-color: #73002b;
}

.card {
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-2px);
}

.card-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-red) 100%);
    color: white;
    font-weight: bold;
}

.contest-card {
    border-left: 4px solid var(--primary-blue);
}

.application-card {
    border-left: 4px solid var(--primary-red);
}

.status-pending { color: #856404; background-color: #fff3cd; }
.status-approved { color: #155724; background-color: #d4edda; }
.status-rejected { color: #721c24; background-color: #f8d7da; }

.badge-pending { background-color: #ffc107; }
.badge-approved { background-color: #28a745; }
.badge-rejected { background-color: #dc3545; }

.form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(74, 165, 231, 0.25);
}

.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.notification-unread {
    background-color: var(--light-blue);
    border-left: 4px solid var(--primary-blue);
}

.hero-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-red) 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    border-radius: 0 0 50% 50% / 0 0 30px 30px;
    margin-bottom: 3rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    margin-bottom: 2rem;
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}
.bg-light-blue {
    background-color: #e8f4fc !important;
    border-left: 4px solid var(--primary-blue);
}

.message-thread {
    max-height: 500px;
    overflow-y: auto;
}
.notification-unread {
    background-color: var(--light-blue) !important;
    border-left: 4px solid var(--primary-blue);
}

.list-group-item:hover {
    background-color: #f8f9fa;
}
.btn-group-sm .btn {
    padding: 0.375rem 0.5rem;
    border-radius: 0.25rem;
}

.btn-group-sm .btn i {
    font-size: 0.875rem;
}

/* Специфичные стили для иконок */
.btn-warning {
    color: #000 !important;
}

.btn-warning:hover {
    color: #000 !important;
    background-color: #e0a800;
    border-color: #d39e00;
}
/* Стили для динамических полей */
#participant_age_field,
#participants_count_field,
#all_participants_names_field,
#participants_list_field {
    border-left: 4px solid #4aa5e7;
    padding-left: 15px;
    background-color: #f8f9fa;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}
.bg-purple {
    background-color: #6f42c1 !important;
}
.bg-purple {
    background-color: #6f42c1 !important;
}

.bg-gradient-purple {
    background: linear-gradient(135deg, #6f42c1 0%, #a78bfa 100%) !important;
}
