/* Post Job Page Styles */

/* Hero Intro Content */
.hero__intro {
    margin-top: 2.75rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.hero__intro-title {
    font-size: 2rem;
    color: var(--color-accent);
    margin: 0 0 1rem 0;
    line-height: 1.3;
    letter-spacing: .025rem;
    font-family: var(--font-family-mono);
    text-transform: uppercase;
}

.hero__intro-description {
    font-size: 1.125rem;
    color: var(--color-text-primary);
    line-height: 1.6;
    margin: 0;
    opacity: 0.9;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .hero__intro {
        margin-top: 1.5rem;
    }
    
    .hero__intro-title {
        font-size: 1.5rem;
    }
    
    .hero__intro-description {
        font-size: 1rem;
    }
}

/* Inner Page Header - Just shorter height, same typography as homepage */
.hero.hero--inner-page {
    min-height: 100%;
    max-height: 100%;
    height: 100%;
    padding-bottom: 0;
    padding-top: 0;
}

/* Mobile responsive height */
@media (max-width: 768px) {
    .hero.hero--inner-page {
        min-height: 30vh;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.content-wrapper {
    padding: 4rem 0;
}

/* Job Form Styles */
.job-form {
    max-width: 800px;
    margin: 0 auto;
    background: #313133;
    border-radius: 16px;
    border: 1px solid #3e3e3e;
    padding: 2.5rem;
    margin-top: -5.5rem;
    z-index: 8;
    position: relative;
}

/* Form Row for Two-Column Layout */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

/* Three-Column Row for Main Category, Experience Level, and Employment Type */
.form-row.three-column-row {
    display: grid;
    grid-template-columns: 8fr 5fr 6fr;
    gap: 1.25rem;
}

/* Tablet responsive - stack to two columns */
@media (max-width: 768px) {
    .form-row.three-column-row {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
}


/* Standard logo upload container */
.logo-upload-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.logo-upload-area {
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-upload-area .logo-upload-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.125rem;
    font-size: .85rem;
}

.logo-upload-area .logo-preview {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.form-help--logo {
    margin-top: 0.5rem;
    margin-bottom: 0;
    font-size: 0.8rem;
}

@media (max-width: 640px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    /* Three-column row becomes single column on mobile */
    .form-row.three-column-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    /* Mobile: Reset logo height constraints */
    .logo-upload-area {
        min-height: 100px;
    }
}

/* Form Section Headings */
.form-section {
    margin: 4rem 0 2rem 0;
}

.form-section:first-of-type {
    margin-top: 0;
}

.form-section-heading {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin: 0;
    padding-bottom: 0.175rem;
    border-bottom: 3px solid var(--color-accent);
    text-transform: capitalize;
    /* letter-spacing: 0.1em; */
    font-family: var(--font-family-sans);
    width: fit-content;
}

/* Logo Upload Styles */
.logo-upload-container {
    position: relative;
}

.logo-upload-area {
    position: relative;
    border: 1px dashed #4a4a4a;
    border-radius: 12px;
    /* padding: 1rem; */
    text-align: center;
    background: #1b1b1b;
    transition: all 0.3s ease;
    cursor: pointer;
    /* max-width: 7rem; */
    height: 100%;
}

.logo-upload-area:hover {
    border-color: var(--color-accent);
    background: var(--color-surface-hover);
}

.logo-upload-area.dragover {
    border-color: #c5ff68;
    background: #2f2f2f;
    transform: scale(1.02);
}

.logo-upload-content {
    pointer-events: none;
}

.upload-icon {
    width: 2.5rem;
    height: 2.5rem;
    margin: 0 auto .5rem;
    color: #888;
    transition: color 0.3s ease;
    display: block;
}

.logo-upload-area:hover .upload-icon {
    color: var(--color-accent);
}

.logo-upload-text {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-text-primary);
    margin: 0 0 0.5rem 0;
}

.logo-upload-hint {
    font-size: 0.9rem;
    color: #888;
    margin: 0;
}

.logo-upload-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.logo-preview {
    position: relative;
    display: inline-block;
    border-radius: 12px;
    overflow: hidden;
    background: #2a2a2a;
    border: 2px solid #4a4a4a;
    width: max-content;
    padding: 1.5rem;
}

.logo-preview-image {
    display: block;
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
}


.logo-remove-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 30px;
    height: 30px;
    background: #ef4444;
    border: 2px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.logo-remove-btn:hover {
    background: #dc2626;
    transform: scale(1.1);
}

.logo-remove-btn svg {
    width: 12px;
    height: 12px;
    color: white;
}

/* Mobile responsive logo upload */
@media (max-width: 640px) {
    .logo-upload-area {
        padding: 1.5rem;
    }
    
    .upload-icon {
        width: 36px;
        height: 36px;
    }
    
    .logo-preview-image {
        width: 100px;
        height: 100px;
    }
}

.page-post-job .job-form {
    margin-top: -7rem;
    position: relative;
    z-index: 2;
}

.form-group {
    margin-bottom: 2rem;
}

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-primary);
    margin-bottom: 0.5rem;
    font-family: var(--font-family-mono);
    text-transform: uppercase;
    letter-spacing: .033rem;
}

.form-input,
.form-select {
    width: 100%;
    padding: 0.65rem 1rem;
    background: #1b1b1b;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    color: var(--color-text-primary);
    font-size: 1.125rem;
    font-family: var(--font-family-sans);
    transition: border-color 0.2s ease;
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: var(--color-accent);
}

.form-input[readonly] {
    background-color: rgba(255, 255, 255, 0.05);
    cursor: not-allowed;
    opacity: 0.8;
}

.form-input[readonly]:focus {
    border-color: var(--color-border);
}

.form-input::placeholder {
    color: hwb(252.49deg 41.54% 57.46%);
}

.form-help {
    font-size: 0.75rem;
    color: var(--color-text-secondary) !important;
    margin-top: .5rem;
    font-family: var(--font-family-sans);
    padding-left: 0.25rem;
}


/* Rich Text Editor */
.rich-text-editor {
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
}

.editor-toolbar {
    display: flex;
    gap: 0.25rem;
    padding: 0.5rem;
    background: var(--color-surface-hover);
    border-bottom: 1px solid var(--color-border);
}

.toolbar-btn {
    padding: 0.5rem 0.75rem;
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    color: var(--color-text-primary);
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-family-sans);
}

.toolbar-btn:hover {
    background: var(--color-accent);
    color: var(--color-surface);
    border-color: var(--color-accent);
}

.editor-content {
    min-height: 20rem;
    padding: 1rem;
    background: #1b1b1b;
    color: var(--color-text-primary);
    font-size: 1rem;
    line-height: 1.6;
    font-family: var(--font-family-sans);
    outline: none;
}

.editor-content:focus {
    outline: none;
}

/* Tag Input System */
.tag-input-container {
    position: relative;
}

.tag-input {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: #1b1b1b;
    border: 1px solid var(--color-border);
    min-height: 48px;
    border-radius: 8px;
    transition: border-color 0.2s ease;
}

.tag-input-field {
    flex: 1;
    min-width: 120px;
}

.tag-input-text {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--color-text-primary);
    font-size: 1.125rem;
    font-family: var(--font-family-sans);
    outline: none;
    /* padding-left: .5rem; */
}

/* Focus state for the entire container when input is focused */
.tag-input:focus-within {
    border-color: var(--color-accent);
}

.tag-input-text::placeholder {
    color: hwb(252.49deg 41.54% 57.46%);
}

.tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    background: var(--color-accent);
    color: var(--color-surface);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    font-family: var(--font-family-sans);
}

.tag-remove {
    background: none;
    border: none;
    color: var(--color-surface);
    cursor: pointer;
    padding: 0;
    font-size: 0.875rem;
    line-height: 1;
}

.tag-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    margin-top: 0.25rem;
    max-height: 200px;
    overflow-y: auto;
    z-index: 50;
    display: none;
}

.tag-suggestion {
    padding: 0.75rem 1rem;
    cursor: pointer;
    color: var(--color-text-primary);
    font-size: 0.875rem;
    font-family: var(--font-family-sans);
    /* transition: background-color 0.2s ease; */
}

.tag-suggestion:hover {
    background: var(--color-surface-hover);
}

.tag-suggestion.active {
    background-color: var(--color-accent);
    color: var(--color-surface);
}

/* Location Options */
.location-options {
    display: flex;
    gap: 2rem;
    margin-bottom: .67rem;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    font-size: 1.15rem;
    color: var(--color-text-primary);
    font-family: var(--font-family-sans);
}

.radio-option input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 16px;
    height: 16px;
    border: 2px solid var(--color-text-secondary);
    border-radius: 50%;
    position: relative;
    transition: all 0.2s ease;
}

.radio-option input[type="radio"]:checked + .radio-custom {
    border-color: var(--color-accent);
}

.radio-option input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
}

/* Salary Range Slider */
.salary-range-slider {
    margin: .5rem 0;
    background: hsl(0deg 0% 10.59%);
    padding: 1rem 2rem;
    border-radius: .5rem;
}

.salary-range-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-text-primary);
    font-family: var(--font-family-sans);
}

.salary-min,
.salary-max {
    color: var(--color-accent);
}

.salary-separator {
    color: var(--color-text-secondary);
}

.salary-period {
    color: var(--color-text-secondary);
    font-size: 1rem;
    font-weight: 400;
    margin-left: 0.125rem;
}

/* Payment Type Selection */
.payment-type-selection {
    display: flex;
    gap: 2.5rem;
    margin-bottom: .67rem;
    justify-content: flex-start;
}

.payment-type-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 1.25rem;
    color: var(--color-text-primary);
    font-family: var(--font-family-sans);
    font-weight: 500;
}

.payment-type-option input[type="radio"] {
    display: none;
}

.payment-type-custom {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    position: relative;
    transition: all 0.2s ease;
    border: 2px solid var(--color-text-secondary);
}

.payment-type-option input[type="radio"]:checked + .payment-type-custom {
    border-color: var(--color-accent);
}

.payment-type-option input[type="radio"]:checked + .payment-type-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
}

.salary-slider-container {
    position: relative;
    margin: 2rem 0;
}

.salary-slider-track {
    height: 8px;
    background: var(--color-surface-hover);
    border-radius: 4px;
    border: 1px solid var(--color-border);
    position: relative;
}

.salary-slider-progress {
    position: absolute;
    height: 100%;
    background: var(--color-accent);
    border-radius: 4px;
    transition: all 0.2s ease;
    box-shadow: 0 0 6px rgba(207, 255, 111, 0.4);
}

.salary-slider {
    position: absolute;
    top: -8px;
    width: 100%;
    height: 24px;
    background: transparent;
    -webkit-appearance: none;
    appearance: none;
    pointer-events: none;
    cursor: pointer;
}

.salary-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    background: var(--color-accent);
    border: 3px solid var(--color-surface);
    border-radius: 50%;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
    transition: all 0.2s ease;
}

.salary-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.salary-slider::-webkit-slider-track {
    background: transparent;
    border: none;
}

.salary-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    background: var(--color-accent);
    border: 3px solid var(--color-surface);
    border-radius: 50%;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
    transition: all 0.2s ease;
    -moz-appearance: none;
}

.salary-slider::-moz-range-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.salary-slider::-moz-range-track {
    background: transparent;
    border: none;
}

.salary-range-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
}

.salary-label {
    font-size: 0.75rem;
    color: var(--color-text-secondary);
    font-family: var(--font-family-sans);
}

/* Premium Options */
.premium-options {
    background: var(--color-surface-hover);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2rem;
}

.premium-title {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-primary);
    margin-bottom: 0.5rem;
    font-family: var(--font-family-mono);
    text-transform: uppercase;
    letter-spacing: .025rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 1.5rem;
}

.checkbox-option {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.checkbox-option:last-child {
    margin-bottom: 0;
}

.checkbox-option:hover {
    background: rgba(255, 255, 255, 0.05);
}

.checkbox-option input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 1.5rem;
    height: 1.5rem;
    border: 2px solid #767676;
    border-radius: 4px;
    position: relative;
    flex-shrink: 0;
    margin-top: 0.125rem;
    transition: all 0.2s ease;
}

.checkbox-option input[type="checkbox"]:checked + .checkbox-custom {
    background: var(--color-accent);
    border-color: var(--color-accent);
}

.checkbox-option input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '\2713';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--color-surface);
    font-size: 1rem;
    font-weight: bold;
}

.checkbox-content {
    flex: 1;
}

.checkbox-label {
    display: block;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 0.125rem;
    font-family: var(--font-family-sans);
}

.checkbox-price {
    display: block;
    font-size: .9rem;
    color: var(--color-text-secondary);
    font-family: var(--font-family-sans);
    letter-spacing: .025rem;
}

/* Featured Duration Options */
.featured-duration-options {
    margin-left: 2.25rem;
    margin-top: 0.75rem;
    padding-left: 1rem;
    border-left: 2px solid var(--color-accent);
    border-radius: 0px;
    margin-bottom: 2rem;
}

.duration-radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.duration-radio-option {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 8px;
    transition: background-color 0.2s ease;
    border: 1px solid transparent;
}

.duration-radio-option:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: var(--color-border);
}

.duration-radio-option input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid #767676;
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
    margin-top: 0.125rem;
    transition: all 0.2s ease;
}

.duration-radio-option input[type="radio"]:checked + .radio-custom {
    border-color: var(--color-accent);
}

.duration-radio-option input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0.5rem;
    height: 0.5rem;
    background: var(--color-accent);
    border-radius: 50%;
}

.duration-info {
    flex: 1;
}

.duration-label {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text-primary);
    margin-bottom: 0.125rem;
    font-family: var(--font-family-sans);
}

.duration-price {
    display: block;
    font-size: 1.5rem;
    color: var(--color-accent);
    font-family: var(--font-family-mono);
    font-weight: 400;
}

.duration-savings {
    display: block;
    font-size: 0.75rem;
    color: var(--color-text-secondary);
    font-weight: 500;
    margin-top: 0.125rem;
    font-family: var(--font-family-mono);
    display: none;
}

/* Coupon Code */
.coupon-code-group {
    display: none;
    margin: 2rem 0 1rem 0;
}

.coupon-code-group .form-input {
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: var(--font-family-mono);
}

.optional-label {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--color-text-secondary);
    font-family: var(--font-family-sans);
}

/* Total Price */
.total-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 1.5rem;
    background: var(--color-surface-hover);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    margin: 2rem 0;
}

.total-label {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--color-text-primary);
    font-family: var(--font-family-sans);
}

.coupon-note {
    width: 100%;
    font-size: 0.875rem;
    color: var(--color-accent);
    font-family: var(--font-family-sans);
    text-align: center;
    margin-top: 0.25rem;
    opacity: 0.9;
}

.total-amount {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-accent);
    font-family: var(--font-family-sans);
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--color-accent);
    border: 1px solid var(--color-accent);
    border-radius: 12px;
    color: var(--color-surface);
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-family-sans);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    overflow: hidden;
}

.submit-btn:hover:not(.loading) {
    background: transparent;
    color: var(--color-accent);
}

.submit-btn.loading,
.submit-btn:disabled {
    cursor: not-allowed;
    opacity: 0.8;
    background: var(--color-accent);
    color: var(--color-surface);
    pointer-events: none;
}

.submit-btn.loading:hover,
.submit-btn:disabled:hover {
    background: var(--color-accent);
    color: var(--color-surface);
    transform: none;
}

.submit-icon {
    width: 1.25rem;
    height: 1.25rem;
    transition: all 0.3s ease;
}

/* Loading Spinner */
.loading-spinner {
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid var(--color-surface);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Button text transition */
.submit-btn .btn-text {
    transition: opacity 0.3s ease;
}

.submit-btn.loading .btn-text {
    opacity: 1;
}

/* Secure checkout notice */
.secure-checkout-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 1rem 0 0 0;
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    text-align: center;
}

.secure-checkout-notice .lock-icon {
    flex-shrink: 0;
    opacity: 0.8;
}

/* Salary toggle */
.salary-toggle-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    margin-bottom: 0.5rem;
}

.salary-toggle-label input[type="checkbox"] {
    width: 1.25rem;
    height: 1.25rem;
    cursor: pointer;
    accent-color: var(--color-accent);
    flex-shrink: 0;
}

.salary-toggle-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text-primary);
    cursor: pointer;
    margin: 0;
}

.salary-toggle-subtitle {
    font-size: .9rem;
    font-weight: 400;
    color: var(--color-text-secondary);
    margin: 0.5rem 0 0 2rem;
}

.salary-details-section {
    margin-top: 1rem;
    transition: all 0.3s ease;
}

#jobForm select {
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 448' enable-background='new 0 0 256 448'%3E%3Cstyle type='text/css'%3E.arrow%7Bfill:%23ffffff;%7D%3C/style%3E%3Cpath class='arrow' d='M255.9 168c0-4.2-1.6-7.9-4.8-11.2-3.2-3.2-6.9-4.8-11.2-4.8H16c-4.2 0-7.9 1.6-11.2 4.8S0 163.8 0 168c0 4.4 1.6 8.2 4.8 11.4l112 112c3.1 3.1 6.8 4.6 11.2 4.6 4.4 0 8.2-1.5 11.4-4.6l112-112c3-3.2 4.5-7 4.5-11.4z'/%3E%3C/svg%3E%0A");
    background-position: right .9rem center;
    background-repeat: no-repeat;
    background-size: auto 1.2rem;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .job-form {
        padding: 2rem 1.5rem;
        margin: 1rem 0;
    }
    
    .salary-range {
        grid-template-columns: 1fr;
    }
    
    .location-options {
        flex-direction: column;
        gap: 1rem;
    }
    
    .premium-options {
        padding: 1.5rem;
    }
    
    .total-price {
        padding: 1rem;
    }
    
    .total-amount {
        font-size: 1.25rem;
    }
}

/* Location Autocomplete Styles */
.location-autocomplete-container {
    position: relative;
    transition: opacity 0.2s ease, height 0.2s ease;
}

.location-autocomplete {
    width: 100%;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Location Validation States */
.location-autocomplete.location-valid {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.location-autocomplete.location-invalid {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.location-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    display: none;
    max-height: 200px;
    overflow-y: auto;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.location-suggestions[style*="block"] {
    opacity: 1;
    transform: translateY(0);
}

.location-suggestions .suggestion-item {
    padding: 0.75rem 1rem;
    cursor: pointer;
    border-bottom: 1px solid var(--color-border);
    transition: background-color 0.1s ease;
    color: var(--color-text-primary);
    font-size: 0.95rem;
    font-family: var(--font-family-sans);
}

.location-suggestions .suggestion-item:last-child {
    border-bottom: none;
}

.location-suggestions .suggestion-item:hover {
    background-color: var(--color-surface-hover);
}

.location-suggestions .suggestion-item.active {
    background-color: var(--color-accent);
    color: var(--color-surface);
}

.location-suggestions .suggestion-item.active:hover {
    background-color: var(--color-accent);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .location-suggestions {
        max-height: 150px;
    }
    
    .location-suggestions .suggestion-item {
        padding: 0.625rem 0.75rem;
        font-size: 0.9rem;
    }
    
    /* Tag suggestions mobile optimization */
    .tag-suggestions {
        max-height: 150px;
    }
    
    .tag-suggestion {
        padding: 0.625rem 0.75rem;
        font-size: 0.8rem;
    }
}

/* WYSIWYG Editor Styling */
.wp-editor-wrap {
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: #1b1b1b;
}

.wp-editor-wrap .wp-editor-container {
    border: none;
}

.wp-editor-wrap .wp-editor-area {
    background: #1b1b1b !important;
    color: var(--color-text-primary) !important;
    border: none !important;
    padding: 0.75rem 1rem !important;
    font-size: 1.125rem !important;
    font-family: var(--font-family-sans) !important;
    line-height: 1.6 !important;
    min-height: 300px !important;
    height: 300px !important;
}

/* WordPress Editor Content Styling */
.mce-content-body {
    background: #1b1b1b !important;
    color: #ffffff !important;
    font-size: 1.125rem !important;
    font-family: var(--font-family-sans) !important;
    line-height: 1.6 !important;
    padding: 12px 16px !important;
    min-height: 300px !important;
    height: 300px !important;
}

/* Fix tooltip issues */
.mce-tooltip {
    display: none !important;
}

.mce-tooltip-arrow {
    display: none !important;
}

/* Ensure editor iframe has proper height */
.mce-edit-area iframe {
    height: 300px !important;
    min-height: 300px !important;
}

.wp-editor-wrap .wp-editor-area:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* TinyMCE Toolbar Dark Theme */
.mce-toolbar-grp {
    background: #2a2a2a !important;
    border-bottom: 1px solid var(--color-border) !important;
}

.mce-toolbar .mce-btn {
    background: transparent !important;
    border: none !important;
}

.mce-toolbar .mce-btn:hover,
.mce-toolbar .mce-btn.mce-active {
    background: var(--color-border) !important;
    color: white !important;
}

.mce-toolbar .mce-btn button {
    color: var(--color-text-primary) !important;
}

.mce-toolbar .mce-btn:hover button,
.mce-toolbar .mce-btn.mce-active button {
    color: white !important;
}

/* Format dropdown (headings) styling */
.mce-toolbar .mce-btn.mce-listbox button {
    color: var(--color-text-primary) !important;
    background: transparent !important;
}

.mce-toolbar .mce-btn.mce-listbox:hover button {
    color: white !important;
    background: var(--color-accent) !important;
}

/* Dropdown menu styling */
.mce-menu {
    background: #2a2a2a !important;
    border: 1px solid var(--color-border) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

.mce-menu .mce-menu-item {
    background: #2a2a2a !important;
    color: var(--color-text-primary) !important;
}

.mce-menu .mce-menu-item:hover,
.mce-menu .mce-menu-item.mce-selected {
    background: var(--color-accent) !important;
    color: white !important;
}

.mce-menu .mce-menu-item a {
    color: inherit !important;
}

/* Toolbar separator styling */
.mce-toolbar .mce-separator {
    background: var(--color-border) !important;
    margin: 0 4px !important;
}

.mce-toolbar .mce-ico {
    color: var(--color-text-secondary) !important;
}

.mce-btn.mce-active button,.mce-btn.mce-active:hover button,.mce-btn.mce-active i,.mce-btn.mce-active:hover i {
    color: var(--color-text-primary) !important;
}

.mce-toolbar .mce-btn-group .mce-btn:focus, .mce-toolbar .mce-btn-group .mce-btn:hover, .qt-dfw:focus, .qt-dfw:hover {
    background: #f6f7f7;
    color: #1d2327;
    box-shadow: 0 0 0 1px var(--color-accent) !important;
    outline: 2px solid transparent;
}

.mce-toolbar .mce-btn-group .mce-btn.mce-active, .mce-toolbar .mce-btn-group .mce-btn:active, .qt-dfw.active {
    background: #f0f0f1;
    border-color: #50575e;
    box-shadow: 0 0 0 1px var(--color-accent) !important;
}

p.upload-text {
    font-weight: bold;
}

p.upload-hint {
    font-weight: 400;
    font-size: .75rem;
}