/* ============================================================ 
   GET_MAIN.CSS - Новый дизайн (Единый интерфейс)
   ============================================================ */

:root {
    --p24-primary: #0d6efd;
    --p24-primary-hover: #0a58ca;
    --p24-bg: #f8f9fa;
    --p24-card-bg: #ffffff;
    --p24-text: #212529;
    --p24-text-muted: #6c757d;
    --p24-border: #e9ecef;
    --p24-radius: 12px;
    --p24-shadow: 0 2px 8px rgba(0,0,0,0.04);
    --p24-shadow-hover: 0 8px 24px rgba(0,0,0,0.08);
}

/* --- Для ГОСТЯ: Скрываем левое меню, растягиваем контент --- */
body.is-guest #main_menu {
    display: none !important;
}

body.is-guest #main_content {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    margin-left: 0 !important;
    padding: 0 !important;
}

body.is-guest .container-fluit > .row {
    margin: 0 !important;
}

body.is-guest .container-fluit {
    padding: 0 !important;
}

/* --- Общие стили --- */
.p24-main-container {
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

/* --- Герой-баннер для гостя --- */
.p24-hero-guest {
    display: flex;
    background: linear-gradient(135deg, #0a58ca 0%, #0d6efd 100%);
    border-radius: 16px;
    overflow: hidden;
    min-height: 280px;
    color: #fff;
}

.p24-hero-content {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
}

.p24-hero-title {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 10px;
    max-width: 500px;
}

.p24-hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 20px;
}

.p24-hero-image {
    flex: 1;
    background-size: cover;
    background-position: center;
    display: none;
}

@media (min-width: 768px) {
    .p24-hero-image {
        display: block;
        clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
    }
}

/* --- Поиск в баннере --- */
.p24-hero-guest .p24-search-wrapper {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* --- Карточки --- */
.p24-card {
    background: var(--p24-card-bg);
    border-radius: var(--p24-radius);
    border: 1px solid var(--p24-border);
    box-shadow: var(--p24-shadow);
    transition: all 0.2s;
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.p24-card:hover {
    box-shadow: var(--p24-shadow-hover);
    transform: translateY(-2px);
}

/* --- Часы --- */
.p24-clock {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -1px;
}

/* --- Быстрые кнопки --- */
.p24-quick-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #eef2ff;
    color: var(--p24-primary);
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s;
}

.p24-quick-btn:hover {
    background: #dbe4ff;
    color: var(--p24-primary-hover);
}

/* --- Поиск --- */
.p24-search-wrapper {
    position: relative;
    display: flex;
    background: #fff;
    border: 1px solid var(--p24-border);
    border-radius: 50px;
    padding: 6px;
}

.p24-search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 10px 15px 10px 45px;
    border-radius: 50px;
    font-size: 1rem;
}

.p24-search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--p24-text-muted);
    font-size: 1.1rem;
}

.p24-search-btn {
    background: var(--p24-primary);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 10px 25px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.p24-search-btn:hover {
    background: var(--p24-primary-hover);
}

/* --- Заголовки секций --- */
.p24-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.p24-section-title i {
    color: var(--p24-primary);
}

/* --- Карточки сервисов --- */
.p24-service-card {
    text-decoration: none;
    color: inherit;
    padding: 20px 16px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.p24-service-card:hover {
    text-decoration: none;
    color: inherit;
    border-color: #b6d4fe;
    background: #f8fbff;
}

.p24-service-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #eef2ff;
    color: var(--p24-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 4px;
}

.p24-service-title {
    font-weight: 600;
    font-size: 0.95rem;
}

.p24-service-desc {
    font-size: 0.8rem;
    color: var(--p24-text-muted);
}

/* --- Замки для гостя --- */
.p24-locked {
    opacity: 0.8;
    background: #f8f9fa;
    cursor: pointer;
}

.p24-locked:hover {
    opacity: 1;
    background: #fff;
    transform: none;
    box-shadow: var(--p24-shadow);
}

.p24-lock-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #adb5bd;
    font-size: 1rem;
}

.p24-badge-lock {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #fff3cd;
    color: #856404;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    border: 1px solid #ffe69c;
    text-transform: uppercase;
}

/* --- Задачи --- */
.p24-task-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: #fff;
    border: 1px solid var(--p24-border);
    border-radius: var(--p24-radius);
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
    height: 100%;
}

.p24-task-card:hover {
    border-color: var(--p24-primary);
    box-shadow: var(--p24-shadow-hover);
    transform: translateY(-2px);
    color: inherit;
}

.p24-task-icon {
    font-size: 1.8rem;
    width: 40px;
    text-align: center;
}

.p24-task-count {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.2;
}

.p24-task-label {
    font-size: 0.75rem;
    color: var(--p24-text-muted);
}

/* --- Модалка --- */
.p24-modal-content {
    border-radius: var(--p24-radius);
    border: none;
    box-shadow: 0 24px 60px rgba(13, 110, 253, 0.2);
}

.p24-modal-header {
    background: linear-gradient(135deg, var(--p24-primary), #4dabf7);
    color: #fff;
    padding: 20px;
    border-bottom: none;
}