.drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 40px;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    background: #fff;
}

/*  боковая панель */
.side-drawer {
    position: fixed;
    inset: 0;
    z-index: 3000;
    visibility: hidden;
    pointer-events: none;
}

.side-drawer.open {
    visibility: visible;
    pointer-events: auto;
}

.drawer-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.side-drawer.open .drawer-overlay {
    opacity: 1;
}

.drawer-content {
    position: absolute;
    top: 0;
    right: -650px;
    bottom: 0;
    width: 900px;
    max-width: 95%;
    background: var(--white);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.2);
    transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.side-drawer.open .drawer-content {
    right: 0;
}

/*  лого */
.drawer-logo-badge {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-size: 1.4rem;
    font-weight: 800;
    flex-shrink: 0;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #2563eb;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.drawer-logo-badge.is-large {
    width: 64px;
    height: 64px;
    border-radius: 18px; /* Чуть более скругленный, "мягкий" вид */
    background: linear-gradient(135deg, #f8faff 0%, #eff6ff 100%);
    color: #2563eb;
    font-size: 1.8rem;
    font-weight: 800;
    border: 1px solid rgba(37, 99, 235, 0.08);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
}

.drawer-logo-badge img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin-bottom: 0;
}

.btn-close-drawer {
    width: 36px;
    height: 36px;
    background: #f1f5f9;
    color: #94a3b8;
    border-radius: 10px;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.btn-close-drawer:hover {
    background: #e2e8f0;
    color: #475569;
    transform: rotate(90deg);
}

.drawer-title {
    font-size: 2.2rem;
    font-weight: 550;
    line-height: 1.2;
    color: #0f172a;
    letter-spacing: -0.03em;
    margin-top: 10px;
    margin-bottom: 12px;
}

.drawer-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.drawer-user-position {
    font-size: 1.25rem;
    margin-bottom: 18px;
    font-weight: 500;
    color: var(--primary);
}

.drawer-salary-tag {
    display: inline-flex;
    align-items: center;
    font-size: 1.4rem;
    font-weight: 750;
    color: #1e40af;
    background: #eff6ff;
    padding: 12px 20px;
    border-radius: 14px;
    margin-bottom: 40px;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.preview-section {
    margin-bottom: 35px;
    padding-right: 10px;
}

.preview-section h4 {
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    color: #94a3b8;
    margin-bottom: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    border-left: none;
    padding-left: 0;
}

.preview-section h4::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #3b82f6;
    border-radius: 50%;
    margin-right: 10px;
}

.preview-section h4::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-light);
}

.about-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #334155;
    white-space: pre-line;
}

.about-text p {
    margin-bottom: 12px;
}

.drawer-footer {
    padding: 24px 40px;
    border-top: 1px solid var(--border-light);
    display: flex;
    gap: 16px;
    background: var(--white);
    position: sticky;
    bottom: 0;
}

/* Кнопка успеха после отклика */
.btn-success {
    background: #10b981 !important;
    border-color: #10b981 !important;
    pointer-events: none;
}

.btn-primary-large {
    width: 100%;
    padding: 20px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #ffffff;
    border: none;
    border-radius: 16px;
    font-weight: 700;
    font-size: 17px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

.btn-primary-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.35);
    filter: brightness(1.05);
}

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

.btn-primary-large:disabled {
    background: #cbd5e1;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
    opacity: 0.7;
    color: #64748b;
}

/* Основной контейнер футера для контекста */
.drawer-footer {
    padding: 24px 40px;
    border-top: 1px solid var(--border-light);
    display: flex;
    gap: 16px;
    background: var(--white);
    position: sticky;
    bottom: 0;
    align-items: center;
}

.drawer-footer-status {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 12px;
}

.drawer-status-info-text {
    font-size: 0.95rem;
    color: #64748b; /* Твой стандартный цвет для сабтитров */
    margin: 0;
}

.drawer-status-info-text strong {
    color: #0f172a; /* Твой цвет .drawer-title для акцента */
    font-weight: 700;
}

/* Кнопка "Пригласить" */
.drawer-btn-invited {
    padding: 14px 20px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 2;
}

.drawer-btn-invited:hover {
    background: var(--primary-hover);
    box-shadow: var(--shadow);
}

/* Кнопка "Отклонить" */
.drawer-btn-rejected {
    padding: 14px 20px;
    background: var(--bg-soft);
    color: var(--text-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    flex: 1;
}

.drawer-btn-rejected:hover {
    background: #fee2e2;
    color: #ef4444;
    border-color: #fecdd3;
}