/* ===== JOB DESCRIPTION GENERATOR PRO - COMPLETE STYLES v2.5 ===== */
/* This is the COMPLETE CSS file including original styles + all improvements */

/* === RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.jdg-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #2d3748;
    line-height: 1.6;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   SVG ICON SYSTEM
   All icons share the same brand token: fill #4ECCA3 | flex-shrink:0
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   .jdg-icon          13 Ã— 13 px  (inline, default)
   .jdg-icon-lg       20 Ã— 20 px  (buttons, hero features)
   .jdg-icon-xl       40 Ã— 40 px  (decorative â€” reminder, climate)
   .jdg-icon-white    13 Ã— 13 px  white fill (on coloured backgrounds)
   .jdg-icon-white-lg 20 Ã— 20 px  white fill
   .jdg-icon-warning  14 Ã— 14 px  amber â€” warning triangle only
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.jdg-icon {
    width: 13px !important;
    height: 13px !important;
    fill: #4ECCA3 !important;
    flex-shrink: 0 !important;
    display: inline-block;
    vertical-align: middle;
}

.jdg-icon-lg {
    width: 20px !important;
    height: 20px !important;
    fill: #4ECCA3 !important;
    flex-shrink: 0 !important;
    display: inline-block;
    vertical-align: middle;
}

.jdg-icon-xl {
    width: 40px !important;
    height: 40px !important;
    fill: #4ECCA3 !important;
    flex-shrink: 0 !important;
    display: inline-block;
    vertical-align: middle;
}

.jdg-icon-white {
    width: 13px !important;
    height: 13px !important;
    fill: #ffffff !important;
    flex-shrink: 0 !important;
    display: inline-block;
    vertical-align: middle;
}

.jdg-icon-white-lg {
    width: 20px !important;
    height: 20px !important;
    fill: #ffffff !important;
    flex-shrink: 0 !important;
    display: inline-block;
    vertical-align: middle;
}

/* Warning icon â€” inherits amber colour from the symbol stroke, not fill */
.jdg-icon-warning {
    width: 14px !important;
    height: 14px !important;
    fill: none !important;
    flex-shrink: 0 !important;
    display: inline-block;
    vertical-align: middle;
}

/* === SCREENS === */
.jdg-screen {
    display: none;
    animation: fadeOut 0.3s ease;
}

.jdg-screen.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0);    }
}

@keyframes fadeOut {
    from { opacity: 1; transform: translateY(0);    }
    to   { opacity: 0; transform: translateY(-10px);}
}

/* === HERO SECTION === */
.jdg-hero {
    text-align: center;
    margin-bottom: 50px;
    padding: 40px 20px;
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
    border-radius: 12px;
    border: 1px solid #d1fae5;
}

.jdg-hero-title {
    font-size: 42px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 16px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.jdg-hero-subtitle {
    font-size: 18px;
    color: #4a5568;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.jdg-hero-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.jdg-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: #2d3748;
    font-weight: 500;
}

/* Feature icon wrapper â€” sized to contain the .jdg-icon-lg SVG */
.jdg-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* === FORM SECTIONS === */
.jdg-form {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.jdg-section-title {
    font-size: 24px;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #4ecca3;
}

.jdg-screen-header {
    margin-bottom: 36px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e8ecef;
}

.jdg-back-btn {
    background: none;
    border: none;
    color: #4ecca3;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    padding: 10px 14px;
    margin-bottom: 20px;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 6px;
}

.jdg-back-btn:hover {
    color: #45b893;
    background: #f0fdf4;
    transform: translateX(-3px);
}

.jdg-screen-title {
    font-size: 32px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 10px;
    letter-spacing: -0.3px;
}

.jdg-screen-subtitle {
    font-size: 16px;
    color: #64748b;
    line-height: 1.6;
    max-width: 700px;
}

/* === PROGRESS BAR === */
.jdg-progress-container {
    margin-bottom: 40px;
}

.jdg-progress-bar {
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    overflow: hidden;
    position: relative;
    margin-bottom: 10px;
    transition: all 0.4s ease;
}

#jdgScreen2ProgressBar {
    height: 100%;
    width: 16.67%;
    background: linear-gradient(90deg, #4ecca3 0%, #45b893 100%);
    border-radius: 3px;
    transition: width 0.4s ease;
}

.jdg-progress-text {
    text-align: center;
    font-size: 14px;
    color: #2d3748;
    font-weight: 600;
}

/* === FORM FIELDS === */
.jdg-field {
    margin-bottom: 32px;
}

.jdg-label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 10px;
    line-height: 1.5;
}

.jdg-required {
    color: #e53e3e;
    font-weight: 700;
}

.jdg-help-text {
    font-size: 14px;
    color: #64748b;
    margin-top: -4px;
    margin-bottom: 14px;
    line-height: 1.5;
}

.jdg-question-help {
    font-size: 13px;
    color: #94a3b8;
    margin-top: -6px;
    margin-bottom: 20px;
    line-height: 1.4;
    font-weight: 500;
}

/* Warning text â€” flex so SVG icon aligns with text */
.jdg-warning-text {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: #d97706;
    margin-top: 8px;
    padding: 10px 14px;
    background: #fef3c7;
    border-radius: 6px;
    border-left: 3px solid #f59e0b;
    line-height: 1.5;
}

/* === INPUT ELEMENTS === */
.jdg-input {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    border: 2px solid #cbd5e0;
    border-radius: 8px;
    transition: all 0.2s;
    background: white;
    color: #2d3748;
}

.jdg-input:focus {
    outline: none;
    border-color: #4ecca3;
    box-shadow: 0 0 0 3px rgba(78, 204, 163, 0.1);
}

.jdg-input-small {
    padding: 10px 14px;
    font-size: 14px;
}

.jdg-textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    border: 2px solid #cbd5e0;
    border-radius: 8px;
    resize: vertical;
    font-family: inherit;
    transition: all 0.2s;
}

.jdg-textarea:focus {
    outline: none;
    border-color: #4ecca3;
    box-shadow: 0 0 0 3px rgba(78, 204, 163, 0.1);
}

/* === EXPERIENCE SELECTOR === */
.jdg-experience-selector {
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 24px;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-radius: 12px;
    border: 2px solid #e2e8f0;
}

.jdg-exp-input-group {
    flex: 1;
}

.jdg-exp-input-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}
.jdg-exp-input-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
}

.jdg-exp-input {
    width: 120px;              /* fixed width makes centering work */
    padding: 14px 0;
    font-size: 24px;
    font-weight: 700;
    border: 2px solid #cbd5e0;
    border-radius: 999px;
    background: white;
    text-align: center;
}

.jdg-exp-input::-webkit-inner-spin-button,
.jdg-exp-input::-webkit-outer-spin-button {
    -webkit-appearance: inner-spin-button;
    opacity: 1;
    position: relative;
    right: -30px;
    width: 20px;
    height: 40px;
    cursor: pointer;
}

.jdg-exp-input[type="number"] {
    -moz-appearance: textfield;
}

.jdg-exp-input::-moz-number-spin-box {
    appearance: spinner;
}

.jdg-exp-input:focus {
    outline: none;
    border-color: #4ecca3;
    box-shadow: 0 0 0 4px rgba(78, 204, 163, 0.1);
}

.jdg-exp-unit {
    position: absolute;
    left: 50%;
    transform: translateX(18px); /* nudges "yrs" next to number */
    top: 50%;
    transform: translate(18px, -50%);
    font-size: 14px;
    color: #64748b;
    font-weight: 600;
    pointer-events: none;
}

.jdg-exp-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 60px;
    font-size: 24px;
    font-weight: 300;
    color: #94a3b8;
}

/* === SINGLE SLIDER === */
.jdg-single-slider-wrapper {
    margin-top: 24px;
    padding: 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-radius: 12px;
    border: 2px solid #e2e8f0;
}

.jdg-slider-value-display {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #4ecca3;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(78, 204, 163, 0.1);
}

.jdg-single-range-slider {
    width: 100%;
    height: 8px;
    -webkit-appearance: none;
    appearance: none;
    background: linear-gradient(to right, #4ecca3 0%, #4ecca3 0%, #cbd5e0 0%, #cbd5e0 100%);
    border-radius: 4px;
    outline: none;
    transition: all 0.3s;
    cursor: pointer;
}

.jdg-single-range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 28px;
    height: 28px;
    background: white;
    border: 4px solid #4ecca3;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 3px 12px rgba(78, 204, 163, 0.4);
    transition: all 0.2s;
}

.jdg-single-range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 16px rgba(78, 204, 163, 0.6);
}

.jdg-single-range-slider::-webkit-slider-thumb:active {
    transform: scale(1.05);
}

.jdg-single-range-slider::-moz-range-thumb {
    width: 28px;
    height: 28px;
    background: white;
    border: 4px solid #4ecca3;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 3px 12px rgba(78, 204, 163, 0.4);
    transition: all 0.2s;
}

.jdg-single-range-slider::-moz-range-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 16px rgba(78, 204, 163, 0.6);
}

.jdg-slider-labels-horizontal {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    padding: 0 4px;
}

.jdg-slider-labels-horizontal span {
    font-size: 13px;
    color: #64748b;
    font-weight: 600;
}

/* === LOCATION MANAGEMENT === */
.jdg-location-input-wrapper {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.jdg-location-tags-container {
    min-height: 50px;
    margin-bottom: 12px;
}

.jdg-location-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.jdg-location-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: linear-gradient(135deg, #4ecca3 0%, #45b893 100%);
    color: white;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(78, 204, 163, 0.25);
    transition: all 0.2s;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { opacity: 0; transform: scale(0.8); }
    to   { opacity: 1; transform: scale(1);   }
}

.jdg-location-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(78, 204, 163, 0.35);
}

/* Location tag remove button â€” wraps the .jdg-icon-white SVG */
.jdg-location-tag-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    cursor: pointer;
    opacity: 0.9;
    transition: all 0.2s;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.jdg-location-tag-remove:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* === AUTOCOMPLETE === */
.jdg-autocomplete-wrapper {
    position: relative;
    flex: 1;
}

.jdg-autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #4ecca3;
    border-top: none;
    border-radius: 0 0 8px 8px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 150;
    display: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.jdg-autocomplete-dropdown.active {
    display: block;
}

.jdg-autocomplete-option {
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.15s;
    font-size: 15px;
    border-bottom: 1px solid #f1f5f9;
}

.jdg-autocomplete-option:last-child {
    border-bottom: none;
}

.jdg-autocomplete-option:hover,
.jdg-autocomplete-option.highlighted {
    background: #f0fdf4;
    color: #059669;
}

.jdg-autocomplete-dropdown::-webkit-scrollbar       { width: 8px; }
.jdg-autocomplete-dropdown::-webkit-scrollbar-track { background: #f1f5f9; border-radius: 0 0 8px 0; }
.jdg-autocomplete-dropdown::-webkit-scrollbar-thumb { background: #cbd5e0; border-radius: 4px; }
.jdg-autocomplete-dropdown::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* === SKILLS AUTOCOMPLETE === */
.jdg-skill-autocomplete-wrapper {
    position: relative;
    flex: 1;
}
.jdg-exp-input {
    padding: 14px 22px 14px 14px;
}
.jdg-skill-autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #4ecca3;
    border-top: none;
    border-radius: 0 0 8px 8px;
    max-height: 250px;
    overflow-y: auto;
    z-index: 200;
    display: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    margin-top: -1px;
}

.jdg-skill-autocomplete-dropdown.active {
    display: block;
}

.jdg-skill-autocomplete-dropdown .jdg-autocomplete-option {
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.15s;
    font-size: 15px;
    border-bottom: 1px solid #f1f5f9;
    background: white;
}

.jdg-skill-autocomplete-dropdown .jdg-autocomplete-option:last-child  { border-bottom: none; }
.jdg-skill-autocomplete-dropdown .jdg-autocomplete-option:hover        { background: #f0fdf4; color: #059669; }

/* === CHECKBOX & RADIO === */
.jdg-checkbox-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.jdg-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: 8px;
}

.jdg-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #4ecca3;
}

.jdg-checkbox-label {
    font-size: 15px;
    color: #2d3748;
    user-select: none;
}

/* === SCREEN 2 QUESTION SLIDES === */
.jdg-screen2-question {
    display: none;
    opacity: 0;
    min-height: 400px;
}

.jdg-screen2-question.active {
    display: block;
    opacity: 1;
    animation: fadeIn 0.4s ease;
}

.jdg-question-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 8px;
    line-height: 1.4;
}

/* === LARGE RADIO OPTIONS === */
.jdg-radio-group-vertical {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.jdg-radio-option-large {
    display: flex;
    align-items: flex-start;
    padding: 20px;
    border: 2px solid #cbd5e0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    background: white;
}

.jdg-radio-option-large:hover {
    border-color: #4ecca3;
    background: #f0fdf4;
    transform: translateX(3px);
}

.jdg-radio-option-large input[type="radio"] {
    margin-right: 8px;
    margin-top: 4px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #4ecca3;
    flex-shrink: 0;
}

.jdg-radio-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.jdg-radio-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a202c;
}

.jdg-radio-desc {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
}

.jdg-radio-option-large:has(input[type="radio"]:checked) {
    border-color: #4ecca3;
    background: rgba(78, 204, 163, 0.05);
    box-shadow: 0 2px 8px rgba(78, 204, 163, 0.2);
}

.jdg-radio-option-large:has(input[type="radio"]:checked) .jdg-radio-title {
    color: #4ecca3;
}

/* === TAG CLOUD === */
.jdg-custom-input-wrapper {
    display: flex;
    gap: 10px;
    margin-bottom: 18px;
}

.jdg-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
    padding: 16px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    min-height: 80px;
}

.jdg-tag {
    padding: 10px 18px;
    background: white;
    border: 2px solid #cbd5e0;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
}

.jdg-tag:hover {
    border-color: #4ecca3;
    background: #f0fdf4;
    transform: translateY(-1px);
}

.jdg-tag.selected {
    background: #4ecca3;
    color: white;
    border-color: #4ecca3;
    box-shadow: 0 2px 6px rgba(78, 204, 163, 0.3);
}

.jdg-selected-tags {
    min-height: 50px;
    padding: 14px 16px;
    background: #f8fafc;
    border: 2px dashed #cbd5e0;
    border-radius: 8px;
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
}

.jdg-selected-tags.has-tags {
    border-style: solid;
    border-color: #4ecca3;
    background: #f0fdf4;
    color: #1a202c;
    font-weight: 500;
}

/* === BULLET POINT INPUT LISTS === */
.jdg-bullet-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 20px;
}

.jdg-bullet-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    transition: all 0.2s;
    animation: slideIn 0.2s ease;
}

.jdg-bullet-item:hover {
    border-color: #4ecca3;
    box-shadow: 0 2px 8px rgba(78, 204, 163, 0.1);
}

/* Bullet icon â€” wraps the .jdg-icon-lg SVG; replaces old font-size:20px approach */
.jdg-bullet-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.jdg-bullet-input {
    flex: 1;
    padding: 10px 14px;
    font-size: 15px;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    transition: all 0.2s;
    background: #f8fafc;
}

.jdg-bullet-input:focus {
    outline: none;
    border-color: #4ecca3;
    background: white;
    box-shadow: 0 0 0 3px rgba(78, 204, 163, 0.1);
}

.jdg-bullet-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #fee;
    color: #e53e3e;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.jdg-bullet-remove:hover {
    background: #e53e3e;
    color: white;
    transform: scale(1.05);
}

/* === BUTTONS === */
.jdg-btn {
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.jdg-btn-primary {
    background: linear-gradient(135deg, #4ecca3 0%, #45b893 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(78, 204, 163, 0.3);
}

.jdg-btn-primary:hover:not(:disabled) {
    background: linear-gradient(135deg, #45b893 0%, #3da383 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(78, 204, 163, 0.4);
}

.jdg-btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.jdg-btn-secondary {
    background: white;
    color: #4ecca3;
    border: 2px solid #4ecca3;
}

.jdg-btn-secondary:hover:not(:disabled) {
    background: #f0fdf4;
    transform: translateY(-2px);
}

.jdg-btn-secondary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.jdg-btn-small  { padding: 8px 16px;   font-size: 14px; }
.jdg-btn-large  { padding: 16px 32px;  font-size: 18px; }
.jdg-btn-full   { width: 100%; }

.jdg-form .jdg-btn-secondary {
    margin-top: 8px;
}

/* Climate "Talk to Us" dark button */
.jdg-btn-climate {
    background: #1a202c;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.jdg-btn-climate:hover {
    background: #2d3748;
    transform: translateY(-2px);
}

/* === NAVIGATION === */
.jdg-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    gap: 15px;
}

.jdg-btn-nav {
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid #cbd5e0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    background: white;
    color: #2d3748;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.jdg-btn-nav:hover:not(:disabled) {
    background: #4ecca3;
    color: white;
    border-color: #4ecca3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(78, 204, 163, 0.3);
}

.jdg-btn-nav:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* === CTA GROUPS === */
.jdg-cta-group {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

.jdg-cta-group .jdg-btn-primary  { flex: 2; }
.jdg-cta-group .jdg-btn-secondary { flex: 1; }

/* === LOADING SPINNER === */
.jdg-loading-spinner {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.jdg-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid #e2e8f0;
    border-top-color: #4ecca3;
    border-radius: 50%;
    margin: 0 auto 24px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.jdg-loading-text    { font-size: 20px; font-weight: 600; color: #2d3748; margin-bottom: 8px; }
.jdg-loading-subtext { font-size: 15px; color: #718096; }

/* === RESULTS SECTION === */
.jdg-result-section { animation: fadeIn 0.4s ease; }

.jdg-result-header  { text-align: center; margin-bottom: 32px; }
.jdg-result-title   { font-size: 36px; font-weight: 700; color: #1a202c; margin-bottom: 8px; }
.jdg-result-subtitle { font-size: 16px; color: #718096; }

/* === JOB DESCRIPTION OUTPUT === */
.jdg-job-description-output {
    background: white;
    padding: 48px;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    border-left: 4px solid #4ecca3;
    margin-bottom: 32px;
    line-height: 1.8;
    font-size: 16px;
    color: #2d3748;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.jdg-job-description-output > *:first-child { margin-top: 0 !important; }
.jdg-job-description-output > *:last-child  { margin-bottom: 0 !important; }

.jdg-job-description-output h1 {
    font-size: 32px; font-weight: 700; color: #1a202c;
    margin: 0 0 20px 0; padding-bottom: 16px;
    border-bottom: 3px solid #4ecca3; line-height: 1.2;
}

.jdg-job-description-output h2 {
    font-size: 24px; font-weight: 700; color: #1a202c;
    margin: 36px 0 16px 0; padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0; line-height: 1.3;
}

.jdg-job-description-output h3 {
    font-size: 20px; font-weight: 600; color: #1a202c;
    margin: 28px 0 14px 0; line-height: 1.4;
}

.jdg-job-description-output h4 {
    font-size: 18px; font-weight: 600; color: #2d3748;
    margin: 24px 0 12px 0; line-height: 1.4;
}

.jdg-job-description-output strong,
.jdg-job-description-output b    { color: #1a202c; font-weight: 600; }

.jdg-job-description-output ul,
.jdg-job-description-output ol   { margin: 16px 0 20px 24px; padding-left: 8px; }

.jdg-job-description-output li {
    margin-bottom: 12px; line-height: 1.7;
    position: relative; padding-left: 8px;
}

.jdg-job-description-output ul li::before {
    content: '';
    position: absolute;
    left: -16px; top: 10px;
    width: 6px; height: 6px;
    background: #4ecca3; border-radius: 50%;
}

.jdg-job-description-output p    { margin: 0 0 18px 0; line-height: 1.8; }
.jdg-job-description-output em,
.jdg-job-description-output i    { font-style: italic; color: #4a5568; }

/* === TONE CHANGER === */
.jdg-tone-changer {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    padding: 28px;
    border-radius: 12px;
    margin-bottom: 32px;
    border: 2px solid #e2e8f0;
    display: block !important;
}

.jdg-tone-title    { font-size: 20px; font-weight: 700; color: #1a202c; margin-bottom: 6px; }
.jdg-tone-subtitle { font-size: 14px; color: #64748b; margin-bottom: 20px; }

.jdg-tone-options {
    display: flex;
    gap: 12px;
    align-items: stretch;
}

.jdg-tone-select {
    flex: 1;
    padding: 12px 16px;
    font-size: 15px;
    border: 2px solid #cbd5e0;
    border-radius: 8px;
    background: white;
    color: #2d3748;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.jdg-tone-select:focus {
    outline: none;
    border-color: #4ecca3;
    box-shadow: 0 0 0 3px rgba(78, 204, 163, 0.1);
}

.jdg-tone-loading {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px;
    background: #f0fdf4;
    border-radius: 8px;
    margin-top: 16px;
    color: #2d3748;
    font-weight: 600;
}

.jdg-spinner-small {
    width: 24px;
    height: 24px;
    border: 3px solid #e2e8f0;
    border-top-color: #4ecca3;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* === SALARY REMINDER â€” matches .jdg-climate-cta light green === */
.jdg-salary-reminder {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 28px;
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    border-radius: 12px;
    border: 2px solid #4ecca3;
    margin-top: 24px;
    margin-bottom: 16px;
    animation: fadeIn 0.4s ease;
}

/* Reminder icon â€” brand green lightbulb on light green bg */
.jdg-reminder-icon {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.jdg-reminder-text {
    flex: 1;
    font-size: 15px;
    color: #1a202c;
    line-height: 1.6;
}

.jdg-reminder-text strong {
    color: #1a202c;
    font-weight: 700;
}

/* === CLIMATE CTA === */
.jdg-climate-cta {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 32px;
    border: 2px solid #4ecca3;
}

.jdg-climate-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Climate icon â€” wraps .jdg-icon-xl SVG; replaces old font-size:48px */
.jdg-climate-icon {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.jdg-climate-text { flex: 1; }

.jdg-climate-text h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 6px;
}

.jdg-climate-text p {
    font-size: 14px;
    color: #2d3748;
}

/* === FEEDBACK SECTION === */
.jdg-feedback-section {
    background: #f8fafc;
    padding: 32px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 32px;
    border: 2px solid #e2e8f0;
}

.jdg-feedback-title { font-size: 22px; font-weight: 700; color: #1a202c; margin-bottom: 8px; }
.jdg-feedback-text  { font-size: 15px; color: #64748b; margin-bottom: 20px; }

.jdg-feedback-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.jdg-feedback-btn {
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid #cbd5e0;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.jdg-feedback-thumbs-up:hover   { border-color: #10b981; background: #d1fae5; transform: translateY(-2px); }
.jdg-feedback-thumbs-down:hover { border-color: #10b981; background: #d1fae5; transform: translateY(-2px); }

.jdg-feedback-message {
    margin-top: 16px;
    padding: 12px 20px;
    background: #4ecca3;
    color: white;
    border-radius: 6px;
    font-weight: 600;
    animation: slideDown 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0);     }
}

/* === RESULT ACTIONS === */
.jdg-result-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.jdg-success-message {
    background: #4ecca3;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    margin-top: 16px;
    animation: slideDown 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* === SECTION DIVIDER === */
.jdg-section-divider {
    margin: 80px auto;
    max-width: 600px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #cbd5e0, transparent);
}

/* === FAQ SECTION === */
.jdg-faq-section {
    margin-top: 100px;
    padding-top: 60px;
    border-top: 3px solid #f0fdf4;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    padding-bottom: 80px;
    border-radius: 20px;
}

.jdg-faq-header { text-align: center; margin-bottom: 50px; }

.jdg-faq-title {
    font-size: 36px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.jdg-faq-subtitle {
    font-size: 18px;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

.jdg-faq-list { max-width: 800px; margin: 0 auto; }

.jdg-faq-item {
    margin-bottom: 16px;
    background: white;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.jdg-faq-item:hover {
    border-color: #4ecca3;
    box-shadow: 0 4px 12px rgba(78, 204, 163, 0.1);
}

.jdg-faq-question {
    width: 100%;
    padding: 24px 28px;
    background: white;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    color: #1a202c;
    transition: all 0.2s;
}

.jdg-faq-question:hover {
    background: #f8fafc;
    color: #4ecca3;
}

/* FAQ icon â€” wraps .jdg-icon-lg SVG; replaces old font-size:28px */
.jdg-faq-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-width: 20px;
    transition: transform 0.3s ease;
}

.jdg-faq-item.active .jdg-faq-icon {
    transform: rotate(45deg);
}

.jdg-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 28px;
}

.jdg-faq-item.active .jdg-faq-answer {
    max-height: 500px;
    padding: 0 28px 24px 28px;
}

.jdg-faq-answer p {
    font-size: 16px;
    line-height: 1.7;
    color: #4a5568;
    margin: 0;
}

#jdgResultSection + .jdg-section-divider { margin-top: 120px; }

/* ===== CUSTOM TONE DROPDOWN ===== */
.jdg-custom-select {
    position: relative;
    flex: 1;
}

.jdg-custom-select__trigger {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    font-family: inherit;
    border: 2px solid #cbd5e0;
    border-radius: 8px;
    background: white;
    color: #2d3748;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    text-align: left;
    transition: all 0.2s;
    min-height: 48px;
}

.jdg-custom-select__trigger:focus,
.jdg-custom-select[aria-expanded="true"] .jdg-custom-select__trigger,
.jdg-custom-select.open .jdg-custom-select__trigger {
    outline: none;
    border-color: #4ecca3;
    box-shadow: 0 0 0 3px rgba(78, 204, 163, 0.1);
}

.jdg-custom-select__value {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.jdg-custom-select__value.placeholder { color: #94a3b8; }

/* Arrow wrapper â€” houses the .jdg-icon chevron SVG */
.jdg-custom-select__arrow {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.jdg-custom-select.open .jdg-custom-select__arrow {
    transform: rotate(180deg);
}

.jdg-custom-select__options {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #4ecca3;
    border-radius: 8px;
    overflow: hidden;
    z-index: 500;
    list-style: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    animation: dropdownOpen 0.2s ease;
}

@keyframes dropdownOpen {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0);    }
}

.jdg-custom-select.open .jdg-custom-select__options { display: block; }

.jdg-custom-select__option {
    padding: 14px 16px;
    font-size: 15px;
    color: #2d3748;
    cursor: pointer;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.15s;
    line-height: 1.4;
}

.jdg-custom-select__option:last-child { border-bottom: none; }
.jdg-custom-select__option:hover      { background: #f0fdf4; color: #059669; }
.jdg-custom-select__option.selected   { background: #f0fdf4; color: #4ecca3; font-weight: 600; }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   MOBILE â€” max 768px  (primary mobile overrides)
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
@media (max-width: 768px) {

    .jdg-container    { padding: 16px 14px; }

    .jdg-hero         { padding: 24px 16px; margin-bottom: 24px; border-radius: 10px; }
    .jdg-hero-title   { font-size: 26px; margin-bottom: 10px; }
    .jdg-hero-subtitle { font-size: 15px; margin-bottom: 20px; }
    .jdg-hero-features { flex-direction: column; gap: 12px; }

    .jdg-form          { padding: 20px 16px; border-radius: 10px; }
    .jdg-section-title { font-size: 20px; margin-bottom: 20px; }
    .jdg-screen-title  { font-size: 26px; }
    .jdg-question-title { font-size: 18px; }

    .jdg-field  { margin-bottom: 22px; }
    .jdg-label  { font-size: 14px; margin-bottom: 8px; }
    .jdg-input, .jdg-textarea { font-size: 16px; padding: 11px 14px; }

    .jdg-experience-selector { flex-direction: row; gap: 10px; padding: 14px 12px; flex-wrap: nowrap; }
    .jdg-exp-separator { height: auto; min-width: 20px; font-size: 18px; align-self: flex-end; padding-bottom: 10px; }
    .jdg-exp-input     { font-size: 20px; padding: 10px 32px 10px 8px; }
    .jdg-exp-input-label { font-size: 11px; margin-bottom: 6px; }
    .jdg-exp-unit      { right: 8px; font-size: 12px; }
    .jdg-slider-value-display { font-size: 28px; }

    .jdg-checkbox-group { flex-direction: column; gap: 10px; }
    .jdg-checkbox       { padding: 10px 14px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; }
    .jdg-checkbox-label { font-size: 15px; }

    .jdg-cta-group              { flex-direction: column; gap: 10px; margin-top: 20px; }
    .jdg-cta-group .jdg-btn-primary,
    .jdg-cta-group .jdg-btn-secondary { width: 100%; flex: none; padding: 14px 20px; font-size: 16px; }

    .jdg-navigation  { flex-direction: column; gap: 10px; margin-top: 20px; }
    .jdg-btn-nav,
    .jdg-navigation .jdg-btn-full { width: 100%; order: unset; padding: 13px 20px; }

    .jdg-tone-changer    { padding: 18px 16px; margin-bottom: 20px; }
    .jdg-tone-title      { font-size: 17px; }
    .jdg-tone-subtitle   { font-size: 13px; margin-bottom: 14px; }
    .jdg-tone-options    { flex-direction: column; gap: 10px; }

    .jdg-custom-select__trigger  { font-size: 16px; padding: 13px 14px; }
    .jdg-custom-select__options  { max-height: 280px; overflow-y: auto; }
    .jdg-custom-select__option   { padding: 16px 14px; font-size: 16px; }

    #jdgChangeToneBtn  { width: 100%; padding: 14px 20px; font-size: 16px; }

    .jdg-job-description-output        { padding: 20px 16px; font-size: 15px; border-radius: 10px; }
    .jdg-job-description-output h1     { font-size: 22px; }
    .jdg-job-description-output h2     { font-size: 18px; margin: 24px 0 12px 0; }

    .jdg-result-actions           { flex-direction: column; gap: 10px; }
    .jdg-result-actions .jdg-btn  { width: 100%; padding: 14px 20px; font-size: 16px; }

    .jdg-feedback-section  { padding: 20px 16px; }
    .jdg-feedback-buttons  { flex-direction: column; gap: 10px; }
    .jdg-feedback-btn      { width: 100%; }

    .jdg-salary-reminder { flex-direction: column; gap: 12px; text-align: center; padding: 18px 20px; }

    .jdg-climate-content { flex-direction: column; text-align: center; }

    .jdg-tag    { padding: 8px 14px; font-size: 13px; }

    .jdg-bullet-item  { flex-wrap: wrap; padding: 10px; }
    .jdg-bullet-input { width: 100%; flex: 1 1 100%; font-size: 15px; }

    .jdg-section-divider { margin: 40px auto; }

    .jdg-faq-section   { margin-top: 50px; padding: 30px 14px 40px; border-radius: 10px; }
    .jdg-faq-title     { font-size: 22px; }
    .jdg-faq-question  { padding: 16px 14px; font-size: 15px; }
    .jdg-faq-answer,
    .jdg-faq-item.active .jdg-faq-answer { padding-left: 14px; padding-right: 14px; }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   MOBILE â€” max 480px  (small phone overrides)
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
@media (max-width: 480px) {
    .jdg-container  { padding: 12px 10px; }
    .jdg-form       { padding: 16px 12px; }
    .jdg-hero       { padding: 30px 16px; }
    .jdg-hero-title { font-size: 22px; }
    .jdg-screen-title { font-size: 20px; }

    .jdg-checkbox-group          { flex-direction: column; gap: 12px; }
    .jdg-location-input-wrapper  { flex-direction: column; }

    .jdg-bullet-item  { padding: 10px; gap: 8px; }
    .jdg-bullet-input { font-size: 14px; padding: 8px 12px; }

    .jdg-faq-section   { margin-top: 60px; padding: 30px 16px 40px; }
    .jdg-faq-title     { font-size: 24px; }
    .jdg-faq-question  { padding: 16px; font-size: 15px; }
}

/* === UTILITY CLASSES === */
.hidden   { display: none !important; }
.fade-in  { animation: fadeIn  0.4s ease; }
.fade-out { animation: fadeOut 0.3s ease; }