
/* ==========================================
   1. БАЗОВІ СТИЛІ ТА ТЕМНИЙ СКЛЯНИЙ ФОН
   ========================================== */

/* Встановлюємо новий шрифт та темний фон для всього сайту */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

body, html, * {
    font-family: 'Montserrat', sans-serif !important;
}

/* Робимо висоту сторінки на весь екран і включаємо Flexbox */
html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

/* Основний контент розтягується і штовхає футер униз */
.main-content {
    flex: 1 0 auto;
}

/* Футер не стискається і завжди залишається внизу */
.site-footer {
    flex-shrink: 0;
}

/* Відступ для сторінки, щоб контент не ховався під фіксовану шапку */
/* Повністю очищуємо налаштування фону у самого body */
body {
    margin: 0;
    padding-top: 80px;
    width: 100%;
    overflow-x: hidden;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    
    background-color: #121214;
    /* Зменшили значення прозорості (було 0.12 та 0.5, стало 0.06 та 0.25) */
    background-image: 
        radial-gradient(circle at 20% 10%, rgba(220, 38, 38, 0.06) 0%, transparent 55%),
        radial-gradient(circle at 80% 90%, rgba(30, 41, 59, 0.25) 0%, transparent 55%);
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Шар-підкладка розгортається на весь екран і не зсувається при скролі */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    background-color: #121214;
    /* Зсуваємо центри градієнтів вище, щоб ефект був помітний і на самому верху */
    background-image: 
        radial-gradient(circle at 20% 0%, rgba(220, 38, 38, 0.06) 0%, transparent 60%),
        radial-gradient(circle at 80% 90%, rgba(30, 41, 59, 0.25) 0%, transparent 60%);
    background-size: cover;
    background-repeat: no-repeat;
}


/* ==========================================
   2. ШАПКА САЙТУ (HEADER) У СТИЛІ MAC/GLASS
   ========================================== */

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: rgba(18, 18, 20, 0.92); /* Зробили трішки щільнішим, щоб приховати переходи */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: fixed; /* Повністю фіксуємо зверху */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-sizing: border-box;
}

.header * {
    box-shadow: none !important;
}

/* Знаходимо клас, який відповідає за кнопку-гамбургер */ 
.mobile-menu-btn {
    display: none;
}

/* Випадаюче меню акаунта */
.user-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
    overflow: visible;
}

/* Кнопка відкриття меню (у шапці) */
.user-dropdown-btn {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 5px;
    background: linear-gradient(to bottom, #38383b 0%, #1c1c1e 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.2s, border-color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-sizing: border-box;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 4px 12px rgba(0, 0, 0, 0.25) !important;
    outline: none;
}

.user-dropdown-btn:hover {
    background: linear-gradient(to bottom, #444448 0%, #252528 100%);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: none !important;
    outline: none;
}

/* Стиль для логотипа у шапці */
.logo {
    color: #ffffff;
    text-decoration: none;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

/* Ефект при наведенні на логотип */
.logo:hover {
    color: #CD853F; /* Коричневий акцент */
    text-shadow: 0 0 10px rgba(205, 133, 63, 0.3);
}

/* Стиль для посилань у навігації хедера */
.nav-links a {
    color: rgba(114, 112, 112, 0.8); /* Колір посилань за замовчуванням (світло-сірий/білий) */
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s ease, transform 0.2s ease;
}

/* Колір при наведенні миші */
.nav-links a:hover {
    color: #908e8e; /* Чистий білий при наведенні */
    transform: scale(1.1); /* Збільшення на 10% при наведенні */
}

.nav-links {
    display: flex;
    gap: 20px; /* Збільш або зменш це значення (наприклад, було 20px, стало 30px) */
    align-items: center;
}

/* Контейнер випадаючого блоку (спочатку прихований) */
.user-dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    min-width: 200px;
    z-index: 100;
}

/* Невидимий міст між кнопкою та меню для плавного переходу курсора */
.user-dropdown-content::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
    background: transparent;
}

/* Показуємо меню при наведенні або кліку (залежить від логіки JS/CSS) */
.user-dropdown:hover .user-dropdown-content {
    display: block;
}

/* Внутрішній блок меню у стилі «матового скла» */
.user-dropdown-inner {
    background: rgba(20, 20, 25, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Посилання та кнопка «Вийти» всередині меню */
.user-dropdown-inner a,
.user-dropdown-inner button {
    display: block;
    width: 100%;
    padding: 10px 14px;
    text-align: left;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    background: transparent;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s, color 0.2s;
    box-sizing: border-box;
}

.user-dropdown-inner a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

/* Окремий стиль для кнопки виходу (робимо її з акцентом) */
.user-dropdown-inner button {
    color: #CD853F; /* Коричневий акцент */
    font-weight: 500;
}

.user-dropdown-inner button:hover {
    background: rgba(220, 133, 63, 0.15);
    color: #CD853F;
}

/* Базовий стиль кнопки в стилі скляного/темного рельєфу */
.custom-btn,
.detail-btn,
.btn-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px; /* адаптували відступи під картку */
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(to bottom, #a96119 0%, #953c01 100%);
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 5px;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        0 4px 12px rgba(230, 92, 0, 0.35);
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

/* Ефект при наведенні (м'яке підняття або ледь помітна зміна) */
.custom-btn:hover,
.detail-btn:hover,
.btn-action:hover {
    color: #ffffff;
    background: linear-gradient(to bottom, #aa6d28 0%, #a94402 100%);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        0 6px 15px rgba(230, 92, 0, 0.45);
}

/* Ефект вдавлювання при натисканні */
.custom-btn:active,
.btn-action:active,
.detail-btn:active {
    background: linear-gradient(135deg, #8c3800 0%, #873601 100%);
    box-shadow: 
        inset 0 3px 5px rgba(0, 0, 0, 0.5), 
        0 1px 2px rgba(255, 255, 255, 0.05);
    transform: translateY(1px);
}
.custom-btn.active,
.btn-action.active {
    background: linear-gradient(135deg, #8c3800 0%, #873601 100%) !important;
    box-shadow: 
        inset 0 3px 5px rgba(0, 0, 0, 0.5), 
        0 1px 2px rgba(255, 255, 255, 0.05) !important;
    transform: translateY(1px) !important;
}


/* ==========================================
   3. Кнопка входу в акаунт через Google (Google Sign-In)
   ========================================== */
.social-auth {
    margin-top: 10px;
    width: 100%;
}

.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(to bottom, #38383b 0%, #1c1c1e 100%);
    color: #ffffff !important;
    border: 1px solid #cccccc;
    padding: 12px 16px;
    border-radius: 8px;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 15px;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 4px 12px rgba(0, 0, 0, 0.25);
    transition: background 0.2s ease, transform 0.1s ease;
}

.btn-google:hover {
    background: #f1f3f5 !important;
    color: #111111 !important;
}

.btn-google:active {
    transform: translateY(1px);
}

/* Змінюємо колір для посилання "Забули пароль?" у формі входу */
.login-container form p a {
    color: #A0522D !important;
    text-decoration: none;
    font-weight: 500;
}

.login-container form p a:hover {
    color: #c94508 !important;
    text-decoration: underline;
}


/* ==========================================
   3. ГОЛОВНА СТОРІНКА ТА БЛОКИ (HERO, BUTTONS)
   ========================================== */

.hero { 
    text-align: center; 
    padding: 80px 20px; 
    background: linear-gradient(135deg, rgba(30, 30, 35, 0.6), rgba(15, 15, 18, 0.8)); 
    color: #ffffff; 
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.hero h1 { 
    margin: 0 0 15px 0; 
    font-size: 38px; 
    font-weight: 700;
    letter-spacing: -0.5px;
}

.hero p { 
    margin: 0; 
    font-size: 18px; 
    color: rgba(255, 255, 255, 0.6); 
}

.container { 
    max-width: 900px; 
    margin: 50px auto; 
    padding: 0 20px; 
}

/* За замовчуванням (для мобільних пристроїв) блоки йдуть один під одним */
/* Адаптивність для блоків вибору шляху */
.main-buttons { 
    display: flex; 
    flex-wrap: wrap; /* Дозволяє перенос на новий рядок */
    gap: 20px; 
    justify-content: center; 
    margin-top: 20px; 
    width: 100%;
}

.btn-box { 
    background: rgba(30, 30, 35, 0.45); 
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px; 
    padding: 30px 20px; 
    text-align: center; 
    flex: 1 1 280px; /* Дозволяє блокам адаптивно переноситись */
    box-sizing: border-box; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.4); 
    transition: transform 0.2s, border-color 0.2s; 
    text-decoration: none; 
    color: #ffffff; 
    border: 1px solid rgba(255, 255, 255, 0.08); 
}

.btn-box:hover { 
    transform: translateY(-5px); 
    border-color: #CD853F; /* Коричневий акцент при наведенні */
}

.btn-box h2 { 
    margin: 0 0 15px 0; 
    font-size: 24px; 
    color: #ffffff; 
}

.btn-box p { 
    margin: 0 0 25px 0; 
    color: rgba(255, 255, 255, 0.6); 
    font-size: 15px; 
    line-height: 1.5; 
}

/* Загальні стилі коричневих кнопок */
.btn-home { 
    background: #CD853F; 
    color: #ffffff; 
    padding: 12px 30px; 
    border-radius: 8px; 
    font-weight: bold; 
    font-size: 16px; 
    display: inline-block; 
    transition: background 0.2s;
    text-decoration: none;
    border: none;
}

.btn-home:hover { 
    background: #A0522D; 
}

/* Альтернативні акценти (робимо також у єдиній коричневій гамі) */

.btn-employer { 
    background: #CD853F; 
} 

.btn-box:hover .btn-employer { 
    background: #A0522D; 
}

.btn-box h2.employer-title { 
    color: #ffffff; 
}


/* ==========================================
   4. КАРТКИ, СПИСКИ ВАКАНСІЙ ТА ДЕТАЛІ
   ========================================== */

.card, .detail-card, .success-card { 
    background: rgba(30, 30, 35, 0.45); 
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 30px; 
    border-radius: 16px; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.4); 
    margin-bottom: 20px; 
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.card-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: start; 
}

.title { 
    color: #ffffff; 
    margin: 0 0 5px 0; 
    font-size: 22px; 
    font-weight: bold; 
}

.company { 
    color: rgba(255, 255, 255, 0.6); 
    margin: 0 0 15px 0; 
    font-size: 16px; 
}

.salary, .detail-salary { 
    background: linear-gradient(to bottom, #38383b 0%, #1c1c1e 100%); 
    color: #ffffff; 
    border: 1px solid rgba(145, 144, 143, 0.4);
    padding:  6px 14px;
    border-radius: 5px; 
    font-weight: bold; 
    font-size: 16px; 
    display: inline-block;
}

.desc { 
    color: rgba(255, 255, 255, 0.8); 
    line-height: 1.6; 
}

.footer-info { 
    border-top: 1px solid rgba(255, 255, 255, 0.08); 
    padding-top: 15px; 
    margin-top: 20px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    color: rgba(255, 255, 255, 0.5); 
    font-size: 14px; 
}

.back-link, .vacancy-back-link { 
    display: inline-block; 
    margin-bottom: 20px; 
    color: #0a0a09; 
    text-decoration: none; 
    font-weight: bold; 
}

.back-link:hover, .vacancy-back-link:hover { 
    text-decoration: underline; 
}

.section-title { 
    font-size: 18px; 
    color: #ffffff; 
    font-weight: bold; 
    border-bottom: 1px solid rgba(255, 255, 255, 0.08); 
    padding-bottom: 8px; 
    margin-top: 30px; 
    margin-bottom: 15px; 
}

.meta-info { 
    display: flex; 
    gap: 20px; 
    color: rgba(255, 255, 255, 0.5); 
    font-size: 14px; 
    margin-bottom: 20px; 
}

.contacts-box { 
    background: rgba(20, 20, 24, 0.6); 
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px; 
    border-radius: 10px; 
    margin-top: 30px; 
}

.contacts-box p { 
    margin: 5px 0; 
    font-size: 16px; 
    color: rgba(255, 255, 255, 0.8);
}

.btn-apply { 
    display: block; 
    text-align: center; 
    background: #CD853F; 
    color: white; 
    padding: 14px; 
    border-radius: 8px; 
    text-decoration: none; 
    font-weight: bold; 
    font-size: 16px; 
    margin-top: 25px; 
    transition: background 0.2s;
}

.btn-apply:hover { 
    background: #A0522D; 
}

.alert-info { 
    background: rgba(205, 133, 63, 0.1); 
    color: #fca5a5; 
    padding: 20px; 
    border-radius: 10px; 
    text-align: center; 
    margin-bottom: 30px; 
    font-size: 16px; 
    font-weight: bold; 
    border-left: 5px solid #CD853F; 
    border-top: 1px solid rgba(205, 133, 63, 0.2);
    border-right: 1px solid rgba(205, 133, 63, 0.2);
    border-bottom: 1px solid rgba(205, 133, 63, 0.2);
}


/* ==========================================
   5. КАТЕГОРІЇ ТА СІТКИ
   ========================================== */

.categories-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); 
    gap: 20px; 
}

.category-card { 
    background: rgba(30, 30, 35, 0.45); 
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 25px; 
    border-radius: 16px; 
    text-align: center; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.4); 
    text-decoration: none; 
    color: #ffffff; 
    font-weight: bold; 
    font-size: 18px; 
    border: 1px solid rgba(255, 255, 255, 0.08); 
    transition: all 0.2s; 
}

.category-card:hover { 
    transform: translateY(-3px); 
    border-color: #CD853F; 
    color: #ffffff; 
    box-shadow: 0 10px 25px rgba(205, 133, 63, 0.2); 
}

.back-btn { 
    display: block !important;           /* Робить елемент блочним */
    width: 280px !important;             /* Фіксована ширина (можете змінити на 200px або 300px) */
    max-width: 100% !important;          /* Щоб не вилазити за межі мобільних екранів */
    margin-left: 0 !important;        /* Центруємо кнопку по горизонталі */
    margin-right: auto !important;       /* Центруємо кнопку по горизонталі */
    
    background: #99430a !important;
    color: white !important;
    padding: 12px 20px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    font-weight: bold !important;
    font-size: 15px !important;
    text-align: center !important;
    transition: background 0.2s !important;
    margin-top: 20px !important;
    margin-bottom: 60px !important;
    box-sizing: border-box !important;
}

.back-btn:hover {
    background: #f1690f !important; /* Трохи світліший відтінок при наведенні */
    color: white;
}


/* ==========================================
   6. ФОРМИ (ВХІД, РЕЄСТРАЦІЯ, ПРОФІЛЬ)
   ========================================== */
   
/* Стиль для полів вводу Django (form.as_p створює теги input та select) */
.login-container input[type="text"],
.login-container input[type="password"],
.login-container input[type="email"] {
    width: 100%;
    padding: 12px 15px;
    margin-top: 6px;
    margin-bottom: 15px;
    font-family: inherit;
    font-size: 14px;
    color: #ffffff;
    background: #161619; /* Темний фон */
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    /* Ефект вдавлювання (inset) всередину */
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.6), 0 1px 2px rgba(255, 255, 255, 0.05);
    box-sizing: border-box;
    outline: none;
    transition: all 0.2s ease;
}

/* Ефект при фокусі на полі введення */
.login-container input[type="text"]:focus,
.login-container input[type="password"]:focus,
.login-container input[type="email"]:focus {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.8), 0 0 0 2px rgba(0, 123, 255, 0.25);
}

/* Якщо Django рендерить поля через стандартні класи або теги p */
.login-container p {
    margin-bottom: 10px;
    color: #a1a1aa;
    font-size: 14px;
}

.auth-body { 
    font-family: 'Inter', sans-serif; 
    background-color: #121214; 
    margin: 0; 
    padding: 0; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    height: 100vh; 
}

.login-container, .register-container, .form-container, .container-form, .profile-edit-wrapper, .vacancy-form-wrapper { 
    background: rgba(30, 30, 35, 0.6); 
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 40px; 
    border-radius: 16px; 
    box-shadow: 0 25px 50px rgba(0,0,0,0.5); 
    max-width: 450px; 
    width: 100%; 
    box-sizing: border-box; 
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
    margin: 40px auto;
}

.login-container h2, .register-container h2, .form-container h2, .container-form h1, .profile-edit-title, .vacancy-form-title { 
    font-size: 24px; 
    color: #ffffff; 
    text-align: center; 
    margin-bottom: 25px; 
    font-weight: bold; 
}

.login-container form label, 
.register-container form label, 
.form-container form label, 
.container-form form label, 
.profile-form-fields label,
.vacancy-form-wrapper form label { 
    display: block; 
    margin-bottom: 8px; 
    font-weight: 600; 
    color: rgba(255, 255, 255, 0.8); 
    font-size: 14px; 
}

.login-container form input, 
.register-container form input, 
.form-container form input, 
.form-container form select, 
.form-container form textarea,
.container-form form input, 
.container-form form select, 
.container-form form textarea,
.profile-form-fields input,
.profile-form-fields textarea,
.profile-form-fields select,
.vacancy-form-wrapper form input, 
.vacancy-form-wrapper form select, 
.vacancy-form-wrapper form textarea { 
    width: 100%; 
    padding: 12px; 
    border: 1px solid rgba(255, 255, 255, 0.12); 
    border-radius: 8px; 
    box-sizing: border-box; 
    font-size: 15px; 
    background-color: rgba(20, 20, 24, 0.6); 
    color: #ffffff;
    font-family: 'Inter', sans-serif;
}

.login-container form input:focus, 
.register-container form input:focus, 
.form-container form input:focus,
.profile-form-fields input:focus { 
    border-color: #CD853F; 
    outline: none; 
    box-shadow: 0 0 0 3px rgba(205, 133, 63, 0.2); 
}

.form-container form textarea,
.container-form form textarea,
.vacancy-form-wrapper form textarea { 
    height: 140px; 
    resize: vertical; 
}

.btn-login, .btn-register, .btn-submit, .btn-publish, .btn-vacancy-publish, .btn-save-profile { 
    background: linear-gradient(to bottom, #38383b 0%, #1c1c1e 100%); 
    color: #ffffff; 
    border: none; 
    padding: 14px; 
    width: 100%; 
    border-radius: 8px; 
    font-weight: bold; 
    font-size: 16px; 
    cursor: pointer; 
    margin-top: 20px;
     box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 4px 12px rgba(0, 0, 0, 0.25);
    transition: background 0.2s; 
}

.btn-login:hover, .btn-register:hover, .btn-submit:hover, .btn-publish:hover, .btn-vacancy-publish:hover, .btn-save-profile:hover { 
    background: linear-gradient(to bottom, #444448 0%, #252528 100%);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 6px 15px rgba(0, 0, 0, 0.35); 
}

.btn-login:active, .btn-register:active, .btn-submit:active, .btn-publish:active, .btn-vacancy-publish:active, .btn-save-profile:active {
    background: linear-gradient(135deg, #161619 0%, #202025 100%);
    box-shadow: 
        inset 0 3px 5px rgba(0, 0, 0, 0.6), 
        0 1px 2px rgba(255, 255, 255, 0.05);
    transform: translateY(1px);
}
.footer-links, .register-container .footer-links { 
    text-align: center; 
    margin-top: 25px; 
    font-size: 14px; 
    color: rgba(242, 113, 8, 0.5); 
}

.footer-links a, .register-container .footer-links a { 
    color: #e65c00; 
    text-decoration: none; 
    font-weight: bold; 
}

.footer-links a:hover, .register-container .footer-links a:hover { 
    text-decoration: underline; 
}

/* Приховування зайвих англійських підказок форматування Django */
.register-container .helptext, 
.register-container form p ul, 
.register-container form li { 
    display: none !important; 
}

.register-container .helptext { 
    display: block; 
    font-size: 12px; 
    color: rgba(255, 255, 255, 0.4); 
    margin-top: 4px; 
}

.profile-edit-divider { 
    border: none; 
    border-top: 1px solid rgba(255, 255, 255, 0.08); 
    margin-bottom: 20px; 
}

.profile-cancel-link { 
    color: rgba(255, 255, 255, 0.6); 
    text-decoration: none; 
    font-size: 15px; 
}

.profile-cancel-link:hover { 
    text-decoration: underline; 
}

/* Втоплені поля вводу для форми створення вакансії */
.vacancy-form-wrapper input[type="text"],
.vacancy-form-wrapper input[type="number"],
.vacancy-form-wrapper input[type="email"],
.vacancy-form-wrapper input[type="url"],
.vacancy-form-wrapper textarea,
.vacancy-form-wrapper select {
    width: 100%;
    padding: 12px 15px;
    margin-top: 6px;
    margin-bottom: 15px;
    font-family: inherit;
    font-size: 14px;
    color: #ffffff;
    background: #161619;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.6), 0 1px 2px rgba(255, 255, 255, 0.05);
    box-sizing: border-box;
    outline: none;
    transition: all 0.2s ease;
}

/* Ефект при фокусі */
.vacancy-form-wrapper input[type="text"]:focus,
.vacancy-form-wrapper input[type="number"]:focus,
.vacancy-form-wrapper input[type="email"]:focus,
.vacancy-form-wrapper input[type="url"]:focus,
.vacancy-form-wrapper textarea:focus,
.vacancy-form-wrapper select:focus {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.8), 0 0 0 2px rgba(205, 133, 63, 0.25);
}

/* Стилізація тексту міток/абзаців всередині форми, якщо рендериться через form.as_p */
.vacancy-form-wrapper p {
    margin-bottom: 12px;
    color: #a1a1aa;
    font-size: 14px;
}



/* ==========================================
   8. Блок резюме (Resume) та його рядки
   ========================================== */

.resume-row {
    display: flex;
    justify-content: space-between; /* Розносить заголовок вліво, а значення вправо */
    align-items: baseline;
    gap: 15px;
    margin-bottom: 12px;
}

.resume-row .section-title {
    margin-bottom: 0;
    flex-shrink: 0; /* Забороняє назві стискатися */
}

.resume-row .desc {
    text-align: right; /* Вирівнює текст значення по правому краю, якщо він у кілька рядків */
    padding-right: 40px;
}

.profile-form-actions {
    display: flex;
    align-items: center; /* Вирівнює кнопки по вертикальному центру */
    gap: 15px;
    margin-top: 20px;
}

/* Робимо так, щоб обидві кнопки в цьому блоці ділили простір і не розтягувались на 100% */
.profile-form-actions .btn-save-profile,
.profile-form-actions .btn-cancel-profile {
    width: auto;       /* Скасовуємо width: 100% */
    flex: 1;           /* Робимо їх однаковими за шириною */
    padding: 14px;     /* однаковий відступ як у інших кнопок */
    margin-top: 0;     /* прибираємо зайвий верхній відступ */
    text-align: center;
    box-sizing: border-box;
    display: inline-block;
}

/* Стиль для кнопки скасування, якщо це тег <a> */
.profile-form-actions .btn-cancel-profile {
    background: #161616; /* Можете змінити колір на інший темний відтінок */
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.profile-form-actions .btn-cancel-profile:hover {
    background: #3b3a3a;
}


/* ==========================================
   8. ФУТЕР САЙТУ
   ========================================== */

.site-footer {
    width: 100%;
    background-color: rgba(15, 15, 18, 0.95);
    color: rgba(255, 255, 255, 0.5);
    padding: 40px 0 0 0;
    margin-top: auto;
    box-sizing: border-box;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-col h3, .footer-col h4 {
    color: #ffffff;
    margin-bottom: 15px;
}

.footer-col p {
    line-height: 1.6;
    margin-bottom: 10px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-col ul li a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding: 15px 0;
    color: rgba(255, 255, 255, 0.3);
    font-size: 13px;
    background-color: rgba(10, 10, 12, 1);
}


/* Запобігаємо появі фіолетового кольору для посилань у футері */
.footer-col a,
.footer-col a:visited,
.site-footer a:visited,
.footer a:visited {
    color: #474343;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: #c21e1e;
    text-decoration: underline;
}

.footer-bottom {
    font-size: 12px; /* Змініть значення (наприклад, на 12px або 13px) до потрібного розміру */
    color: #c0bbbb;  /* За бажанням можна зробити колір трохи м'якшим */
}


/* ==========================================
   9. АДАПТИВНІСТЬ (МОБІЛЬНІ ЕКРАНИ ДО 768px)
   ========================================== */

@media (max-width: 768px) {
    .header-right {
        display: none !important;
        flex-direction: column !important;
        position: absolute !important;
        top: 60px !important;
        left: 0 !important;
        width: 100% !important;
        background-color: #121414 !important;
        padding: 20px !important;
        box-shadow: 0 10px 20px rgba(0,0,0,0.5) !important;
        z-index: 1000 !important;
    }

    .header-right.active {
        display: flex !important;
    }

    .mobile-menu-btn {
        display: block !important;
        background: none;
        border: none;
        color: white;
        font-size: 24px;
        cursor: pointer;
    }

    .header-auth {
        display: flex;
        align-items: center;
        margin-left: auto;
        margin-right: 10px;
    }

    .guest-btn {
        font-size: 18px;
        padding: 6px 10px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 4px;
        text-decoration: none;
        color: white;
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .user-dropdown-btn {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 10px;
    border-radius: 5px;
    background: linear-gradient(to bottom, #38383b 0%, #1c1c1e 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.2s, border-color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-sizing: border-box;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 4px 12px rgba(0, 0, 0, 0.25) !important;
    outline: none;
}

.user-dropdown-btn:hover {
    background: linear-gradient(to bottom, #444448 0%, #252528 100%);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: none !important;
    outline: none;
}

    /* Блоки «Шукаю роботу» та «Роботодавцям» тепер йдуть у колонку на телефоні */
    .main-buttons {
        flex-direction: column;
    }
    .btn-box {
        width: 100%;
        flex: unset;
    }
}























