
        .jobs-grid {
            display: grid !important;
            grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)) !important;
            gap: 25px !important;
            align-items: stretch !important;
        }
        
        .job-card {
            display: flex !important;
            flex-direction: column !important;
            justify-content: space-between !important;
            padding: 30px !important;
            border-radius: 20px !important;
            height: 100% !important;
        }
        
        .job-card p {
            color: var(--text-soft) !important;
            font-size: 14px !important;
            line-height: 1.6 !important;
            margin-bottom: 20px !important;
            flex-grow: 1 !important;
        }
        
        #job-modal {
            z-index: 1000 !important;
        }
        
        .sub-legal-overlay {
            position: fixed !important;
            top: 0 !important;
            left: 0 !important;
            width: 100vw !important;
            height: 100vh !important;
            background: rgba(8, 9, 11, 0.85) !important;
            backdrop-filter: blur(12px) !important;
            -webkit-backdrop-filter: blur(12px) !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            z-index: 1300 !important;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.25s ease-in-out;
        }
        
        .sub-legal-overlay.active {
            opacity: 1 !important;
            pointer-events: auto !important;
        }
        
        .sub-legal-overlay .legal-popup-window {
            background: rgba(17, 19, 24, 0.96) !important;
            border: 1px solid rgba(214, 175, 55, 0.3) !important;
            box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(214, 175, 55, 0.05) !important;
            width: 90% !important;
            max-width: 580px !important;
            border-radius: 16px !important;
            padding: 35px !important;
            position: relative !important;
            transform: scale(0.92);
            transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
        }
        
        .sub-legal-overlay.active .legal-popup-window {
            transform: scale(1) !important;
        }
        
        .legal-popup-interior h3 {
            color: #d6af37 !important;
            box-sizing: border-box;
            font-size: 22px !important;
            font-weight: 700 !important;
            margin-bottom: 20px !important;
            letter-spacing: -0.5px !important;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
            padding-bottom: 12px !important;
        }
        
        .legal-scroll-pane {
            max-height: 380px !important;
            overflow-y: auto !important;
            padding-right: 12px !important;
            color: #b9bcce !important;
            font-size: 14.5px !important;
            line-height: 1.7 !important;
        }
        
        .legal-scroll-pane p {
            margin-bottom: 16px !important;
        }
        
        .legal-scroll-pane strong {
            color: #fff !important;
            font-weight: 600 !important;
        }
        
        .legal-scroll-pane::-webkit-scrollbar {
            width: 6px;
        }
        .legal-scroll-pane::-webkit-scrollbar-track {
            background: rgba(255, 255, 255, 0.02);
            border-radius: 10px;
        }
        .legal-scroll-pane::-webkit-scrollbar-thumb {
            background: rgba(214, 175, 55, 0.3);
            border-radius: 10px;
        }
        .legal-scroll-pane::-webkit-scrollbar-thumb:hover {
            background: rgba(214, 175, 55, 0.5);
        }
        
        .job-modal-footer-form {
            display: flex !important;
            justify-content: space-between !important;
            align-items: center !important;
            width: 100% !important;
            margin-top: 25px;
        }
        .modal-card {
            max-height: 88vh !important;
            overflow-y: auto !important;
            -webkit-overflow-scrolling: touch;
        }
        .form-legal-consents-block {
            transition: all 0.3s ease-in-out;
            border: 1px solid transparent;
        }
        .form-legal-consents-block.consent-error-highlight {
            border: 2px solid #ff4d4d !important;
            border-left: 5px solid #ff4d4d !important;
            box-shadow: 0 0 15px rgba(255, 77, 77, 0.4) !important;
            background: rgba(255, 77, 77, 0.02) !important;
            animation: consentShake 0.4s ease-in-out;
        }
        @keyframes consentShake {
            0%, 100% { transform: translateX(0); }
            20%, 60% { transform: translateX(-6px); }
            40%, 80% { transform: translateX(6px); }
        }
        .success-screen-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            padding: 60px 20px;
            animation: fadeInSuccess 0.5s ease-out forwards;
        }
        @keyframes fadeInSuccess { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
        @media (max-width: 480px) {
            .job-modal-footer-form {
                flex-direction: column-reverse !important;
                gap: 12px !important;
            }
            .job-modal-footer-form button {
                width: 100% !important;
                justify-content: center !important;
            }
        }
    
.success-icon { color: var(--gold); font-size: 80px; margin-bottom: 25px; text-shadow: 0 0 20px rgba(214,175,55,0.4); }

.success-title { color: #fff; font-size: 32px; font-weight: 700; margin-bottom: 12px; letter-spacing: -0.5px; }

.success-description { color: var(--text-soft); font-size: 16px; max-width: 500px; line-height: 1.6; margin-bottom: 5px; }

.success-caption { color: rgba(160, 165, 181, 0.5); font-size: 13px; }
