        body {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: -apple-system, BlinkMacSystemFont, 'Montserrat', 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
            color: #333;
            line-height: 1.5;
            background-color: #f5f5f5;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
        }

        /* Breadcrumbs */
        .breadcrumbs {
            background-color: #fff;
            padding: 7px 0;
            border-bottom: 1px solid #e0e0e0;
        }
        .breadcrumb-links {
            display: flex;
            gap: 8px;
            font-size: 13px;
            flex-wrap: wrap;
        }
        .breadcrumb-links a {
            text-decoration: none;
            color: #2688eb;
            white-space: nowrap;
        }
        .breadcrumb-links a:hover {
            text-decoration: underline;
        }
        .breadcrumb-links span {
            color: #777;
        }

        /* Guest Top Navigation */
        .top-nav {
            background-color: #fff;
            border-bottom: 1px solid #e0e0e0;
            padding: 12px 0;
        }

        .top-nav .container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .nav-links {
            display: flex;
            gap: 24px;
        }

        .nav-links a {
            text-decoration: none;
            color: #2688eb;
            font-size: 14px;
            font-weight: 500;
        }

        .nav-links a:hover,
        .nav-links a.active {
            color: #1a6ec0;
        }

        .nav-right {
            display: flex;
            gap: 16px;
        }

        .login-link,
        .register-link {
            color: #2688eb;
            text-decoration: none;
            font-size: 14px;
            font-weight: 500;
        }

        .login-link:hover,
        .register-link:hover {
            color: #1a6ec0;
        }

        .top-nav-auth {
            background-color: #fff;
            border-bottom: 2px solid #2688eb;
            padding: 16px 0;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }
        
        .top-nav-auth .container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .nav-auth-left, .nav-auth-right {
            display: flex;
            align-items: center;
            gap: 25px;
        }
        
        .nav-auth-link {
            text-decoration: none;
            color: #2688eb;
            font-size: 16px;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 6px;
            transition: color 0.2s;
            white-space: nowrap;
            position: relative;
        }
        
        .nav-auth-link:hover {
            color: #333;
        }
        
        .nav-auth-icon {
            font-size: 18px;
            width: 24px;
            text-align: center;
        }
        
        .icon-badge {
            position: relative;
        }
        
        .badge-count {
            position: absolute;
            top: -8px;
            right: -8px;
            background-color: #ff4757;
            color: white;
            font-size: 11px;
            font-weight: 600;
            border-radius: 10px;
            min-width: 18px;
            height: 18px;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0 4px;
            z-index: 10;
        }
        
        .create-resume-btn {
            background-color: #2688eb;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 6px;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            transition: background-color 0.2s;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            white-space: nowrap;
        }
        
        .create-resume-btn:hover {
            background-color: #1a6ec0;
        }
        
        .dropdown {
            position: relative;
        }
        
        .dropdown-toggle {
            background: none;
            border: none;
            font-size: 20px;
            color: #333;
            cursor: pointer;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background-color 0.2s;
        }
        
        .dropdown-toggle:hover {
            background-color: #f5f5f5;
        }
        
        .dropdown.active .dropdown-toggle {
            background-color: #f5f5f5;
            color: #2688eb;
        }
        
        .dropdown-menu {
            position: absolute;
            top: 100%;
            right: 0;
            background: white;
            border: 1px solid #e0e0e0;
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            width: 240px;
            z-index: 1000;
            display: none;
            margin-top: 10px;
            animation: fadeIn 0.2s ease-in-out;
        }
        
        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(-10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .dropdown.active .dropdown-menu {
            display: block;
        }
        
        .dropdown-item {
            display: block;
            padding: 12px 16px;
            text-decoration: none;
            color: #333;
            font-size: 14px;
            border-bottom: 1px solid #f0f0f0;
            transition: background-color 0.2s;
        }
        
        .dropdown-item:last-child {
            border-bottom: none;
        }
        
        .dropdown-item:hover {
            background-color: #f5f5f5;
            color: #2688eb;
        }
        
        .dropdown-divider {
            height: 1px;
            background-color: #e0e0e0;
        }
        
        .main-header {
            background-color: #fff;
            padding: 20px 0;
            border-bottom: 1px solid #e0e0e0;
        }
        
        .header-content {
            display: flex;
            align-items: center;
            gap: 30px;
        }
        
        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
            color: #2688eb;
            font-weight: 700;
            font-size: 22px;
            text-decoration: none;
            white-space: nowrap;
        }
        
        .logo i {
            font-size: 24px;
        }

        .logo img {
            height: 67px;
        }

        .city-links {
            background-color: #fff;
            padding: 15px 0;
            border-bottom: 1px solid #e0e0e0;
        }

        .city-links .container {
            display: flex;
            gap: 20px;
        }
        
        .city-link {
            color: #2688eb;
            text-decoration: none;
            font-size: 14px;
        }
        
        .city-link.active {
            font-weight: 600;
            color: #333;
        }
        
        .main-content {
            display: grid;
            grid-template-columns: 2fr 1fr;
            gap: 30px;
            margin-top: 20px;
        }
        
        .vacancy-card {
            background-color: #fff;
            border-radius: 8px;
            padding: 30px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            margin-bottom: 30px;
            position: relative;
        }

        /* Фиксированная максимальная ширина для широких экранов */
        @media (min-width: 1200px) {
            .vacancy-card {
                max-width: 800px;
            }
        }
        
        .favorite-icon {
            position: absolute;
            top: 20px;
            right: 20px;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: rgba(255, 255, 255, 0.9);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            cursor: pointer;
            transition: all 0.3s ease;
            z-index: 10;
        }
        
        .favorite-icon:hover {
            background-color: #fff;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            transform: scale(1.1);
        }
        
        .favorite-icon i {
            font-size: 20px;
            color: #ccc;
            transition: all 0.3s ease;
        }

        .favorite-icon.active i,
        .favorite-icon i.fas {
            color: #ff4757;
            animation: heartbeat 0.5s ease;
        }
        
        @keyframes heartbeat {
            0% { transform: scale(1); }
            50% { transform: scale(1.2); }
            100% { transform: scale(1); }
        }
        
        .favorite-tooltip {
            position: absolute;
            top: 50px;
            right: 0;
            background-color: #333;
            color: white;
            padding: 6px 12px;
            border-radius: 4px;
            font-size: 12px;
            white-space: nowrap;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s, visibility 0.3s;
            z-index: 20;
        }
        
        .favorite-icon:hover .favorite-tooltip {
            opacity: 1;
            visibility: visible;
        }
        
        .favorite-tooltip:after {
            content: '';
            position: absolute;
            top: -5px;
            right: 15px;
            width: 0;
            height: 0;
            border-left: 5px solid transparent;
            border-right: 5px solid transparent;
            border-bottom: 5px solid #333;
        }
        
        .company-header {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 20px;
        }
        
        .company-logo {
            width: 60px;
            height: 60px;
            background-color: #ffdd2d;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #333;
            font-weight: bold;
            font-size: 18px;
            overflow: hidden;
        }

        .company-logo img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .vacancy-card .company-logo img {
            object-fit: contain;
        }

        .company-logo.has-logo {
            background: none;
        }
        
        .vacancy-title h1 {
            font-size: 22px;
            margin-bottom: 5px;
            margin-right: 25px;
            line-height: 1.3;
        }
        
        .salary {
            color: #333;
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 8px;
        }

        .vacancy-city {
            color: #777;
            font-size: 14px;
            margin-bottom: 8px;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .vacancy-city i {
            color: #2688eb;
        }

        .badges {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
            margin-bottom: 25px;
        }
        
        .badge {
            background-color: #f0f7ff;
            color: #2688eb;
            padding: 5px 10px;
            border-radius: 4px;
            font-size: 13px;
            font-weight: 500;
        }
        
        .description {
            margin-bottom: 25px;
        }
        
        .description p {
            margin-bottom: 15px;
            font-size: 15px;
            color: #555;
        }
        
        .section-title {
            font-size: 16px;
            font-weight: 600;
            margin-top: 15px;
            margin-bottom: 5px;
            color: #555;
        }
        
        
        .tasks, .features, .values, .offers {
            margin-bottom: 25px;
        }
        
        ul {
            padding-left: 20px;
            margin-bottom: 15px;
        }
        
        li {
            font-size: 15px;
            color: #555;
        }
        
        .vacancy-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 30px;
            padding-top: 20px;
            border-top: 1px solid #eee;
            color: #777;
            font-size: 14px;
        }
        
        .vacancy-actions {
            display: flex;
            gap: 15px;
            align-items: center;
        }
        
        .views {
            display: flex;
            gap: 15px;
        }
        
        .apply-btn {
            background-color: #2688eb;
            color: white;
            border: none;
            padding: 12px 20px;
            border-radius: 6px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: background-color 0.2s;
            min-width: 150px;
            text-align: center;
        }
        
        .apply-btn:hover {
            background-color: #1a6ec0;
        }
        
        .chat-btn {
            background-color: transparent;
            color: #2688eb;
            border: 2px solid #2688eb;
            padding: 10px 20px;
            border-radius: 6px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
            min-width: 150px;
            text-align: center;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .external-apply-btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background-color: #28a745;
            color: #fff;
            border: none;
            padding: 10px 20px;
            border-radius: 6px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: background-color 0.2s;
            min-width: 150px;
            text-align: center;
            text-decoration: none;
        }

        .external-apply-btn:hover {
            background-color: #218838;
            color: #fff;
        }

        .chat-btn:hover {
            background-color: #f0f7ff;
        }

        .chat-btn:disabled {
            opacity: 0.6;
            cursor: not-allowed;
        }

        /* Стиль для бейджа "Вакансия в архиве" */
        .applied-badge-expired {
            background-color: #9e9e9e !important;
            border: 2px solid #9e9e9e !important;
            color: #fff !important;
            cursor: not-allowed;
            opacity: 0.7;
            min-width: 300px;
        }
        
        .applied-badge {
            background-color: #10b981;
            color: #fff;
            border: 2px solid #10b981;
            padding: 8px 20px;
            border-radius: 6px;
            font-size: 16px;
            font-weight: 600;
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 4px;
        }

        .applied-badge .applied-date {
            font-size: 12px;
            font-weight: 400;
            color: #777;
        }

        .char-counter {
            text-align: right;
            font-size: 12px;
            color: #777;
            margin-top: 4px;
        }

        .resumes-loading {
            display: none;
            padding: 10px;
            color: #777;
            font-size: 14px;
        }

        .resumes-loading i {
            margin-right: 8px;
            color: #2688eb;
        }

        .resumes-error {
            display: none;
            padding: 10px;
            background-color: #fff5f5;
            border: 1px solid #ffcdd2;
            border-radius: 6px;
            color: #c62828;
            font-size: 14px;
        }

        .resumes-error i {
            margin-right: 8px;
        }

        .resume-select:disabled {
            background-color: #f5f5f5;
            cursor: not-allowed;
        }

        .no-resumes-message {
            text-align: center;
            padding: 30px 20px;
            background-color: #f9f9f9;
            border-radius: 8px;
            margin-bottom: 20px;
        }

        .no-resumes-message p {
            font-size: 16px;
            color: #555;
            margin-bottom: 20px;
        }

        .create-resume-btn-modal {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background-color: #2688eb;
            color: white;
            text-decoration: none;
            padding: 12px 24px;
            border-radius: 6px;
            font-size: 15px;
            font-weight: 600;
            transition: background-color 0.2s;
        }

        .create-resume-btn-modal:hover {
            background-color: #1a6ec0;
        }
        
        .partner-alert {
            background-color: #fff3cd;
            border: 1px solid #ffc107;
            color: #856404;
            padding: 12px 16px;
            border-radius: 8px;
            font-size: 13px;
            line-height: 1.5;
            margin-bottom: 16px;
            display: flex;
            align-items: flex-start;
            gap: 8px;
        }
        .partner-alert i {
            font-size: 16px;
            margin-top: 2px;
            flex-shrink: 0;
        }
        
        .sidebar {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }
        
        .ai-assistant-card {
            background-color: #fff;
            border-radius: 8px;
            padding: 20px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }
        
        .ai-assistant-title {
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 15px;
            color: #333;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .ai-assistant-title i {
            color: #7d5bbe;
        }
        
        .auth-card, .employer-card, .company-card, .share-card {
            background-color: #fff;
            border-radius: 8px;
            padding: 20px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }
        
        .auth-card {
            text-align: center;
        }
        
        .auth-title {
            font-size: 16px;
            margin-bottom: 15px;
            color: #333;
        }
        
        .create-resume {
            display: inline-block;
            background-color: #2688eb;
            color: white;
            text-decoration: none;
            padding: 10px 20px;
            border-radius: 6px;
            font-weight: 600;
            font-size: 15px;
            margin-top: 10px;
        }
        
        .create-resume:hover {
            background-color: #1a6ec0;
        }
        
        .employer-card {
            position: relative;
        }
        
        .pro-badge {
            position: absolute;
            top: -10px;
            right: 10px;
            background-color: #ffdd2d;
            color: #333;
            font-weight: 600;
            font-size: 12px;
            padding: 3px 10px;
            border-radius: 12px;
        }
        
        .employer-title {
            font-size: 14px;
            color: #777;
            margin-bottom: 10px;
        }
        
        .employer-name {
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 10px;
            color: #2688eb;
        }

        .employer-name a {
            color: inherit;
            text-decoration: none;
        }
        
        .employer-details {
            font-size: 14px;
            color: #777;
            margin-bottom: 5px;
        }

        .profile-link {
            color: #2688eb;
            text-decoration: none;
            font-size: 14px;
            font-weight: 500;
            display: inline-block;
            margin-top: 8px;
        }

        .profile-link:hover {
            text-decoration: underline;
        }

        .company-card .company-name {
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 10px;
            color: #2688eb;
        }
        
        .employer-status {
            font-size: 14px;
            color: #777;
            margin-bottom: 15px;
        }
        
        .employer-status i {
            color: #4caf50;
            margin-right: 5px;
        }
        
        .profile-link {
            color: #2688eb;
            text-decoration: none;
            font-size: 14px;
            font-weight: 500;
        }

        .profile-link:hover {
            text-decoration: underline;
        }

        /* Оценка состояния компании по финотчётности */
        .company-state {
            margin-top: 12px;
            padding-top: 12px;
            border-top: 1px solid #eee;
        }

        .company-state-title {
            font-size: 13px;
            font-weight: 600;
            color: #555;
            margin-bottom: 8px;
        }

        .company-state-line {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 14px;
            color: #333;
            margin-bottom: 5px;
        }

        .company-state-badge {
            display: inline-block;
            padding: 3px 10px;
            border-radius: 4px;
            font-size: 12px;
            font-weight: 500;
        }

        .company-state-badge-growth {
            background-color: #E4F5E5;
            color: #3d8f47;
        }

        .company-state-badge-fall {
            background-color: #FF0000;
            color: #fff;
        }

        .company-state-source {
            text-align: right;
            margin-top: 8px;
        }
        
        .share-card {
            text-align: center;
            margin-bottom: 20px;
        }
        
        .share-title {
            font-size: 16px;
            margin-bottom: 15px;
            color: #333;
        }
        
        .share-icons {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-top: 15px;
        }
        
        .share-icon {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 18px;
            cursor: pointer;
            text-decoration: none;
        }
        
        .share-icon:hover {
            opacity: 0.85;
        }
        
        .vk { background-color: #4c75a3; }
        .telegram { background-color: #2aabee; }
        .email { background-color: #25d366; }
        .linkedin { background-color: #0a66c2; }
        
        .footer {
            background-color: #fff;
            padding: 30px 0;
            border-top: 1px solid #e0e0e0;
        }
        
        .footer-content {
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 30px;
        }
        
        .footer-section {
            flex: 1;
            min-width: 200px;
        }
        
        .footer-title {
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 15px;
            color: #333;
        }
        
        .footer-links {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        
        .footer-links a {
            text-decoration: none;
            color: #777;
            font-size: 14px;
        }
        
        .footer-links a:hover {
            color: #2688eb;
        }
        
        .footer-bottom {
            margin-top: 30px;
            padding-top: 20px;
            border-top: 1px solid #e0e0e0;
            text-align: center;
            color: #777;
            font-size: 14px;
        }
        
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: rgba(0, 0, 0, 0.5);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 2000;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s, visibility 0.3s;
        }
        
        .modal-overlay.active {
            opacity: 1;
            visibility: visible;
            display: flex;
        }
        
        .modal {
            background-color: white;
            border-radius: 12px;
            width: 100%;
            max-width: 500px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            transform: translateY(-20px);
            transition: transform 0.3s;
            overflow: hidden;
        }
        
        .modal-overlay.active .modal {
            transform: translateY(0);
        }
        
        .modal-header {
            padding: 20px 24px;
            border-bottom: 1px solid #eee;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .modal-title {
            font-size: 20px;
            font-weight: 600;
            color: #333;
        }
        
        .modal-close {
            background: none;
            border: none;
            font-size: 24px;
            color: #777;
            cursor: pointer;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background-color 0.2s;
        }
        
        .modal-close:hover {
            background-color: #f5f5f5;
        }
        
        .modal-body {
            padding: 20px;
        }
        
        .form-group {
            margin-bottom: 20px;
        }
        
        .form-label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
            color: #333;
        }
        
        .resume-select {
            width: 100%;
            padding: 12px 16px;
            border: 1px solid #ddd;
            border-radius: 6px;
            font-size: 16px;
            color: #333;
            background-color: white;
            cursor: pointer;
            appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23333' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 16px center;
            background-size: 16px;
        }
        
        .resume-select:focus {
            outline: none;
            border-color: #2688eb;
            box-shadow: 0 0 0 3px rgba(38, 136, 235, 0.1);
        }
        
        .cover-letter-textarea {
            width: 100%;
            padding: 12px 16px;
            border: 1px solid #ddd;
            border-radius: 6px;
            font-size: 14px;
            color: #333;
            resize: vertical;
            min-height: 140px;
            font-family: inherit;
            line-height: 1.5;
        }
        
        .cover-letter-textarea:focus {
            outline: none;
            border-color: #2688eb;
            box-shadow: 0 0 0 3px rgba(38, 136, 235, 0.1);
        }
        
        .modal-footer {
            padding: 20px 24px;
            border-top: 1px solid #eee;
            display: flex;
            justify-content: flex-end;
            gap: 12px;
        }
        
        .modal-btn {
            padding: 10px 24px;
            border-radius: 6px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
            border: none;
        }
        
        .modal-btn.cancel {
            background-color: #f5f5f5;
            color: #333;
        }
        
        .modal-btn.cancel:hover {
            background-color: #e0e0e0;
        }
        
        .modal-btn.submit {
            background-color: #2688eb;
            color: white;
        }
        
        .modal-btn.submit:hover {
            background-color: #1a6ec0;
        }
        
        .generate-ai-btn {
            background-color: #6c5ce7;
            color: white;
            border: none;
            padding: 12px 16px;
            border-radius: 6px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: background-color 0.2s;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            width: 100%;
            justify-content: center;
        }
        
        .generate-ai-btn:hover {
            background-color: #5b4fcf;
        }
        
        .generate-ai-btn:disabled {
            background-color: #cccccc;
            cursor: not-allowed;
        }
        
        .ai-loading {
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }
        
        .ai-loading-spinner {
            width: 16px;
            height: 16px;
            border: 2px solid rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            border-top-color: white;
            animation: spin 1s linear infinite;
        }
        
        @keyframes spin {
            to { transform: rotate(360deg); }
        }
        
        .ai-success-notification,
        .favorite-notification {
            position: fixed;
            top: 100px;
            right: 20px;
            padding: 12px 20px;
            border-radius: 6px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
            z-index: 3000;
            font-size: 14px;
            animation: slideIn 0.3s ease, fadeOut 0.3s ease 2.7s forwards;
            max-width: 300px;
        }
        
        .ai-success-notification {
            background-color: #6c5ce7;
            color: white;
        }
        
        .favorite-notification {
            background-color: #333;
            color: white;
        }
        
        @keyframes slideIn {
            from { transform: translateX(100%); opacity: 0; }
            to { transform: translateX(0); opacity: 1; }
        }
        
        @keyframes fadeOut {
            from { opacity: 1; }
            to { opacity: 0; transform: translateX(100%); }
        }
        
        .match-score {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            height: 28px;
            border-radius: 6px;
            font-weight: 600;
            font-size: 13px;
            color: white;
            position: relative;
            overflow: hidden;
            margin-bottom: 15px;
        }
        
        .match-score-text {
            position: relative;
            z-index: 2;
        }
        
        .match-score-fill {
            position: absolute;
            top: 0;
            left: 0;
            height: 100%;
            width: 100%;
            opacity: 0.9;
            z-index: 1;
        }
        
        .match-score-high .match-score-fill {
            background: #2e7d32;
        }
        
        .match-score-medium .match-score-fill {
            background: #f57c00;
        }
        
        .match-score-low .match-score-fill {
            background: #c62828;
        }
        
        .match-score-very-high .match-score-fill {
            background: #00e676;
        }
        
        .ai-prep-btn {
            background-color: #7d5bbe;
            color: white;
            border: none;
            padding: 12px 16px;
            border-radius: 6px;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s;
            white-space: nowrap;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            width: 100%;
        }
        
        .ai-prep-btn:hover {
            background-color: #6a4ba3;
            transform: translateY(-1px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }
        
        .ai-prep-btn i {
            font-size: 16px;
        }
        
        .ai-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.5);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 10000;
            animation: fadeIn 0.3s ease-out;
        }
        
        .ai-modal-content {
            background-color: white;
            border-radius: 12px;
            width: 90%;
            max-width: 500px;
            padding: 25px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
            animation: slideUp 0.3s ease-out;
        }
        
        @keyframes slideUp {
            from { transform: translateY(20px); opacity: 0; }
            to { transform: translateY(0); opacity: 1; }
        }
        
        .ai-progress-bar {
            height: 6px;
            background-color: #e0e0e0;
            border-radius: 3px;
            overflow: hidden;
            margin-bottom: 25px;
        }
        
        .ai-progress-fill {
            height: 100%;
            width: 0%;
            background: linear-gradient(90deg, #7d5bbe, #9c6fe8);
            border-radius: 3px;
            transition: width 0.3s ease;
        }
        
        @media (min-width: 1200px) {
            .nav-auth-link.resume-profile .nav-auth-icon,
            .nav-auth-link.responses .nav-auth-icon {
                display: none;
            }
            
            .nav-auth-link.resume-profile,
            .nav-auth-link.responses {
                gap: 0;
            }
            
            .nav-auth-link.chats .nav-auth-text,
            .nav-auth-link.notifications .nav-auth-text,
            .nav-auth-link.favorites .nav-auth-text {
                display: none;
            }
            
            .nav-auth-link.chats,
            .nav-auth-link.notifications,
            .nav-auth-link.favorites {
                width: 40px;
                justify-content: center;
            }
            
            .nav-auth-link.chats .nav-auth-icon,
            .nav-auth-link.notifications .nav-auth-icon,
            .nav-auth-link.favorites .nav-auth-icon {
                font-size: 20px;
                width: 30px;
            }
            
            .nav-auth-link.chats .badge-count,
            .nav-auth-link.notifications .badge-count,
            .nav-auth-link.favorites .badge-count {
                top: -6px;
                right: -6px;
            }
            
            .nav-auth-link:not(.resume-profile):not(.responses):not(.chats):not(.notifications):not(.favorites) {
                gap: 6px;
            }
        }
        
        @media (max-width: 768px) {
            .nav-auth-link.resume-profile span:not(.nav-auth-icon),
            .nav-auth-link.responses span:not(.nav-auth-icon) {
                display: inline;
            }
            
            .nav-auth-link.resume-profile .nav-auth-icon,
            .nav-auth-link.responses .nav-auth-icon {
                display: none;
            }
            
            .create-resume-btn span {
                display: inline;
            }
            
            .create-resume-btn:before {
                display: none;
            }
            
            .nav-auth-link:not(.resume-profile):not(.responses) span:not(.nav-auth-icon) {
                display: none;
            }
        }
        
        @media (max-width: 1200px) {
            .nav-auth-link span:not(.nav-auth-icon) {
                display: none;
            }
            
            .nav-auth-link .nav-auth-icon {
                font-size: 20px;
                width: 30px;
            }
            
            .create-resume-btn span {
                display: none;
            }
            
            .create-resume-btn:before {
                content: "+";
                font-size: 18px;
                font-weight: bold;
            }
        }
        
        @media (max-width: 992px) {
            .main-content {
                grid-template-columns: 1fr;
            }
            
            .header-content {
                flex-direction: column;
                gap: 15px;
            }
            
            .search-container {
                width: 100%;
            }
            
            .vacancy-actions {
                flex-direction: column;
                width: 100%;
            }
            
            .chat-btn, .apply-btn, .applied-badge {
                width: 100%;
                min-width: unset;
            }
        }
        
        @media (max-width: 768px) {
            .city-links .container {
                overflow-x: auto;
                padding-bottom: 5px;
            }
            
            .vacancy-footer {
                flex-direction: column;
                gap: 15px;
                align-items: flex-start;
            }
            
            .search-container {
                flex-direction: column;
                border-radius: 8px;
                overflow: visible;
            }
            
            .search-input-group {
                border-bottom: 1px solid #e0e0e0;
            }
            
            .location-selector {
                justify-content: center;
                border-left: none;
                border-top: 1px solid #e0e0e0;
            }
            
            .search-button {
                padding: 12px;
                border-radius: 0 0 8px 8px;
            }
            
            .favorite-icon {
                top: 15px;
                right: 15px;
                width: 36px;
                height: 36px;
            }
            
            .favorite-icon i {
                font-size: 18px;
            }
            
            .modal {
                margin: 0 15px;
            }
            
            .ai-prep-btn span {
                display: inline;
            }
        }
        
        @media (max-width: 576px) {
            .nav-auth-left, .nav-auth-right {
                gap: 10px;
            }
            
            .badge-count {
                top: -5px;
                right: -5px;
                font-size: 10px;
                min-width: 16px;
                height: 16px;
            }
            
            .modal-footer {
                flex-direction: column;
            }
            
            .modal-btn {
                width: 100%;
            }
            
            .match-score {
                height: 26px;
                font-size: 12px;
            }
            
            .ai-prep-btn {
                padding: 10px 14px;
                font-size: 13px;
            }
        }

/* Vacancy Day Special Styling */
.vacancy-card.vacancy-day {
    position: relative;
    border: 3px solid #ff9800;
}

.vacancy-day-badge {
    position: absolute;
    top: -10px;
    right: 12px;
    background-color: #ff9800;
    color: white;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    z-index: 5;
    box-shadow: 0 2px 8px rgba(255, 152, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.partner-badge {
    display: inline-block;
    background-color: #6c5ce7a6;
    color: #fff;
    font-size: 10px;
    font-weight: 300;
    padding: 3px 10px;
    border-radius: 4px;
    vertical-align: middle;
    margin-left: 10px;
    letter-spacing: 0.3px;
}

.partner-badge.parsed-badge {
    background-color: #28a745;
}

@media (max-width: 768px) {
    .vacancy-card.vacancy-day {
        border-width: 2px;
    }

    .vacancy-day-badge {
        right: 12px;
        padding: 3px 10px;
        font-size: 10px;
    }
}

/* Similar Vacancies Sidebar */
.similar-vacancies-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.similar-vacancies-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.similar-vacancies-title i {
    color: #2688eb;
}

.similar-vacancies-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.similar-vacancy-item {
    text-decoration: none;
    display: block;
    padding: 12px;
    border-radius: 6px;
    background-color: #f8f9fa;
    transition: background-color 0.2s;
}

.similar-vacancy-item:hover {
    background-color: #f0f7ff;
}

.similar-vacancy-title {
    font-size: 14px;
    font-weight: 600;
    color: #2688eb;
    margin-bottom: 4px;
    line-height: 1.3;
}

.similar-vacancy-item:hover .similar-vacancy-title {
    color: #1a6ec0;
}

.similar-vacancy-company {
    font-size: 13px;
    color: #777;
    margin-bottom: 4px;
}

.similar-vacancy-salary {
    font-size: 13px;
    font-weight: 600;
    color: #333;
}

/* CTA Banner */
.cta-banner {
    margin-bottom: 0;
}

.cta-banner-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.25);
}

.cta-banner-text {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.cta-banner-text i {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 1px;
}

.cta-banner-text h3 {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 2px;
}

.cta-banner-text p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    line-height: 1.4;
}

.cta-banner-btn {
    background: #fff;
    color: #667eea;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    transition: all 0.2s;
    white-space: nowrap;
    text-decoration: none;
    width: 100%;
    justify-content: center;
}

.cta-banner-btn:hover {
    background: #f0f0ff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Блок полезной информации на странице вакансии */
.related-info-section {
    margin-top: 30px;
}

.related-info-title {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
}

.related-info-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.related-info-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.related-info-card:hover {
    border-color: #3498db;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.related-info-card-title {
    font-size: 15px;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.3;
}