/* ========== ОСНОВНЫЕ НАСТРОЙКИ ========== */
:root {
    --lk-primary: #F05C72;     /* розовый - основной цвет */
    --lk-secondary: #F89221;    /* оранжевый - акцент */
    --lk-accent: #02C2C5;       /* бирюзовый - дополнительный */
    --lk-dark: #202C38;         /* темно-синий - текст */
    --lk-light: #f8f9fa;        /* светлый фон */
    --lk-gray: #e0e0e0;          /* серый для границ */
}

/* Скрываем ненужные элементы для страниц ЛК */
.page-title {
    display: none !important;
}

/* ========== ОСНОВНАЯ СТРУКТУРА ========== */
.lk-container {
    /*max-width: 1200px;
    margin: 0 auto;
    padding: 30px 15px;*/
}
.lk-container h4 {
    font-size: 1.2rem;
}
.lk-container .card-text {    
    margin-bottom: 10px;   
}

.lk-container .text-muted {    
    margin-bottom: 10px;   
}

.lk-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px;
    background: linear-gradient(135deg, var(--lk-primary) 0%, var(--lk-secondary) 100%);
    color: white;
    
    box-shadow: 0 10px 30px rgba(240, 92, 114, 0.2);
}

.lk-header h1 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.lk-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 0;
}

.lk-content {
    background: white;
    padding: 40px;   
}

.lk-content .center { 
    text-align: center;
}

/* ========== НАВИГАЦИЯ ========== */
.lk-main-menu {
    background: var(--lk-light);
    border-radius: 10px;
    padding: 10px 20px;
    margin: 15px 0;
}

.lk-main-menu ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.lk-main-menu li {
    display: inline-block;
}

.lk-main-menu a {
    display: block;
    padding: 10px 20px;
    background: white;
    color: var(--lk-dark);
    text-decoration: none;
    
    
    font-weight: 600;
    transition: all 0.3s ease;
}

.lk-main-menu a:hover {
    background: var(--lk-primary);
    color: white;
    border-color: var(--lk-primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(240, 92, 114, 0.3);
}

.lk-main-menu a.active {
    background: var(--lk-primary);
    color: white;
    border-color: var(--lk-primary);
}

/* ========== ФОРМЫ ========== */
.lk-form,
.axlc-login-form {
    max-width: 500px;
    margin: 0 auto;
    padding: 30px;
    background: white;
    
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
}

.lk-form .form-group,
.axlc-form-group {
    margin-bottom: 25px;
}

.lk-form label,
.axlc-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--lk-dark);
    font-size: 1rem;
}

.lk-form .form-control,
.axlc-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--lk-gray);
    
    font-size: 16px;
    transition: all 0.3s ease;
}

.lk-form .form-control:focus,
.axlc-input:focus {
    border-color: var(--lk-primary);
    box-shadow: 0 0 0 3px rgba(240, 92, 114, 0.1);
    outline: none;
}

.lk-form .btn-primary,
.axlc-btn {
    background: linear-gradient(135deg, var(--lk-primary) 0%, var(--lk-secondary) 100%);
    color: white;
    border: none;
    padding: 14px 30px;
    
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    width: 100%;
}

.lk-form .btn-primary:hover,
.axlc-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(240, 92, 114, 0.3);
}

.lk-form .btn-primary:disabled,
.axlc-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.lk-form .btn-block {
    display: block;
    width: 100%;
}

/* ========== ЗАГОЛОВКИ ФОРМ ========== */
.axlc-title {
    text-align: center;
    margin-bottom: 30px;
    color: var(--lk-dark);
    font-size: 1.8rem;
    font-weight: 700;
}

.axlc-links {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.axlc-links a {
    color: var(--lk-primary);
    text-decoration: none;
    margin: 0 10px;
    font-weight: 500;
}

.axlc-links a:hover {
    color: var(--lk-secondary);
    text-decoration: underline;
}

/* ========== СООБЩЕНИЯ ========== */
.lk-message,
.axlc-error,
.axlc-test-info {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    border-left: 4px solid;
    font-size: 1rem;
}

.lk-success {
    background: #d4edda;
    border-color: #28a745;
    color: #155724;
}

.lk-error,
.axlc-error {
    background: #f8d7da;
    border-color: #dc3545;
    color: #721c24;
}

.lk-info,
.axlc-test-info {
    background: #d1ecf1;
    border-color: var(--lk-accent);
    color: #0c5460;
}

.lk-warning {
    background: #fff3cd;
    border-color: var(--lk-secondary);
    color: #856404;
}

.axlc-test-info h4 {
    color: #2E7D32;
    margin-top: 0;
    margin-bottom: 10px;
}

.axlc-test-info code {
    background: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
}

.breadcrumb {
	font-size: 14px;
}

.breadcrumb-item a {
	color: #323232;
}


/* ========== КАРТОЧКИ КУРСОВ ========== */
.course-card {
    border: 1px solid var(--lk-gray);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    background: white;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border-color: var(--lk-primary);
}

.course-card .card-body {
    padding: 25px;
}

.course-card .card-title {
	max-width: 250px;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--lk-dark);
}

.course-card .progress {
    height: 10px;
    border-radius: 5px;
    margin: 15px 0;
    background: var(--lk-light);
}

.course-card .progress-bar {
    background: linear-gradient(90deg, var(--lk-primary) 0%, var(--lk-secondary) 100%);
    border-radius: 5px;
}

/* ========== БЕЙДЖИ СТАТУСОВ ========== */
.status-badge {
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
}

.status-active {
    background: var(--lk-primary);
    color: white;
}

.status-completed {
    background: var(--lk-accent);
    color: white;
}

.status-pending {
    background: var(--lk-secondary);
    color: white;
}

/* ========== КНОПКИ В СТИЛЕ САЙТА ========== */
.button-style-one {
    background: var(--lk-secondary);
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.button-style-one:hover {
    background: var(--lk-primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(240, 92, 114, 0.3);
    color: white;
}

.button-style-two {
    background: var(--lk-dark);
    color: white;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.button-style-two:hover {
    background: var(--lk-primary);
    color: white;
}

/* ========== ТАБЛИЦЫ ========== */
.lk-table {
    width: 100%;
    border-collapse: collapse;
}

.lk-table th {
    background: var(--lk-light);
    padding: 12px;
    text-align: left;
    font-weight: 600;
    color: var(--lk-dark);
}

.lk-table td {
    padding: 12px;
    border-bottom: 1px solid var(--lk-gray);
}

.lk-table tr:hover {
    background: rgba(240, 92, 114, 0.05);
}

/* ========== УТИЛИТЫ ========== */
.text-center {
    text-align: center;
}

.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 2rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 2rem !important; }

.d-flex { display: flex; }
.justify-content-between { justify-content: space-between; }
.align-items-center { align-items: center; }
.flex-wrap { flex-wrap: wrap; }

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-12 { width: 100%; padding: 0 15px; }
.col-md-6 { width: 50%; padding: 0 15px; }
.col-md-4 { width: 33.333%; padding: 0 15px; }
.col-md-3 { width: 25%; padding: 0 15px; }

/* ========== АДАПТИВНОСТЬ ========== */
@media (max-width: 768px) {
    .lk-header {
        padding: 20px 15px;
    }

    .lk-header h1 {
        font-size: 1.8rem;
    }

    .lk-content {
        padding: 25px 20px;
    }

    .lk-main-menu ul {
        flex-direction: column;
        gap: 5px;
    }

    .lk-main-menu a {
        text-align: center;
        padding: 12px;
    }
    
    .lk-form,
    .axlc-login-form {
        padding: 20px;
    }
    
    .col-md-6, .col-md-4, .col-md-3 {
        width: 100%;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .lk-content {
        padding: 15px;
    }
    
    .axlc-title {
        font-size: 1.5rem;
    }
}
.card {
    border: 1px solid #e0e0e0;
    
}
.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.list-group-item.active {
    background-color: #F05C72 !important;
    border-color: #F05C72 !important;
    color: white !important;
}
.list-group-item-action:hover {
    background-color: rgba(240, 92, 114, 0.1) !important;
}
.table-borderless td {
    padding: 8px 0;
    border: none;
}
.border-hover {
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
}
.border-hover:hover {
    border-color: #F05C72;
    box-shadow: 0 5px 15px rgba(240, 92, 114, 0.1);
    transform: translateY(-2px);
}
.certificate-icon {
    position: relative;
}
.certificate-icon:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(248, 146, 33, 0.1), rgba(240, 92, 114, 0.1));
    z-index: -1;
}
.list-group-item.active {
    background-color: #F05C72 !important;
    border-color: #F05C72 !important;
    color: white !important;
}
.list-group-item-action:hover {
    background-color: rgba(240, 92, 114, 0.1) !important;
}

.course-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
}
.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.status-active {
    background-color: #28a745 !important;
}
.status-completed {
    background-color: #17a2b8 !important;
}
.status-pending {
    background-color: #ffc107 !important;
    color: #212529 !important;
}
.progress-bar {
    transition: width 0.6s ease;
}
.module-completed .accordion-button {
    background-color: rgba(40, 167, 69, 0.1) !important;
}
.module-completed .accordion-button:not(.collapsed) {
    background-color: rgba(40, 167, 69, 0.2) !important;
}
.bg-purple { background-color: #6f42c1 !important; }
.bg-indigo { background-color: #6610f2 !important; }
.bg-pink { background-color: #e83e8c !important; }
.bg-teal { background-color: #20c997 !important; }
.stat-card {
    border-radius: 10px;
    padding: 20px;
    color: white;
    text-align: center;
    margin-bottom: 20px;
}
.stat-card i {
    font-size: 2.5rem;
    margin-bottom: 15px;
}
.stat-card.primary { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.stat-card.success { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.stat-card.warning { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.list-group-item-success { background-color: rgba(40, 167, 69, 0.1); }
.list-group-item-info { background-color: rgba(23, 162, 184, 0.1); }

