/* Loxo Job Post Styles */

/* Import Raleway font */
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;500;600;700&display=swap');

/* Accessibility styles */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* Skip to content link for accessibility */
.skip-link {
    position: absolute;
    left: -9999px;
    z-index: 999999;
    padding: 8px 16px;
    background: #000;
    color: #fff;
    text-decoration: none;
    transition: left 0.3s;
}

.skip-link:focus {
    left: 6px;
    top: 7px;
}

/* Focus indicators for better accessibility */
.loxo-job-link:focus,
.loxo-view-job-btn-final:focus,
button:focus {
    outline: 2px solid #F69031;
    outline-offset: 2px;
}

/* Ensure Dashicons are loaded and display properly */
.dashicons {
    font-family: 'dashicons' !important;
    font-size: 20px;
    line-height: 1;
    width: 20px;
    height: 20px;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Main job container with Raleway font */
.loxo-single-job-container {
    font-family: 'Raleway', sans-serif !important;
}

.loxo-single-job-container p,
.loxo-single-job-container h1,
.loxo-single-job-container h2,
.loxo-single-job-container h3,
.loxo-single-job-container h4,
.loxo-single-job-container h5,
.loxo-single-job-container h6,
.loxo-single-job-container span:not(.dashicons),
.loxo-single-job-container div:not([class*="dashicons"]),
.loxo-single-job-container li,
.loxo-single-job-container ul,
.loxo-single-job-container ol,
.loxo-single-job-container strong,
.loxo-single-job-container em,
.loxo-single-job-container a:not([class*="dashicons"]) {
    font-family: 'Raleway', sans-serif !important;
}

/* Screen reader support */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* Rich text content styling */
.job-content {
    line-height: 1.6;
    color: #333;
}

.job-content h1,
.job-content h2,
.job-content h3,
.job-content h4,
.job-content h5,
.job-content h6 {
    color: #2c3e50;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    font-weight: 600;
}

.job-content h1 { font-size: 1.8em; }
.job-content h2 { font-size: 1.6em; }
.job-content h3 { font-size: 1.4em; }
.job-content h4 { font-size: 1.2em; }

.job-content p {
    margin-bottom: 1em;
}

.job-content ul,
.job-content ol {
    margin: 1em 0;
    padding-left: 2em;
}

.job-content li {
    margin-bottom: 0.5em;
}

.job-content blockquote {
    border-left: 4px solid #F69031;
    padding-left: 1em;
    margin: 1.5em 0;
    font-style: italic;
    color: #666;
}

.job-content strong,
.job-content b {
    font-weight: 600;
    color: #2c3e50;
}

.job-content em,
.job-content i {
    font-style: italic;
}

.job-content a {
    color: #F69031;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.job-content a:hover {
    border-bottom-color: #F69031;
}

.job-content code {
    background: #f8f9fa;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: #e74c3c;
}

.job-content pre {
    background: #f8f9fa;
    padding: 1em;
    border-radius: 5px;
    overflow-x: auto;
    border-left: 3px solid #F69031;
}

.job-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1em 0;
}

.job-content th,
.job-content td {
    padding: 8px 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.job-content th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #2c3e50;
}

.loxo-single-job-container {
    max-width: 100%;
    background: #f8f9fa;
    min-height: 100vh;
}

/* Breadcrumb Navigation */
.loxo-breadcrumb {
    background: white;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
}

.loxo-breadcrumb ol {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    flex-wrap: wrap;
}

.loxo-breadcrumb li {
    display: flex;
    align-items: center;
    color: #6c757d;
    font-size: 14px;
}

.loxo-breadcrumb li:not(:last-child)::after {
    content: '›';
    margin: 0 8px;
    color: #adb5bd;
    font-weight: bold;
}

.loxo-breadcrumb a {
    color: #F69031;
    text-decoration: none;
    transition: color 0.3s ease;
}

.loxo-breadcrumb a:hover {
    color: #e67e22;
    text-decoration: underline;
}

.loxo-breadcrumb li:last-child {
    color: #495057;
    font-weight: 500;
}

.loxo-job-header {
    background: linear-gradient(135deg, #F69031 0%, #e67e22 100%);
    color: white;
    padding: 60px 0 40px;
    position: relative;
    overflow: hidden;
    margin-bottom: 0 !important;
}

.loxo-job-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.loxo-job-header .container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.loxo-job-header-content {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    flex-wrap: wrap;
}

.loxo-company-logo {
    flex-shrink: 0;
}

.loxo-company-logo img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    background: white;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.loxo-job-title-section {
    flex: 1;
    min-width: 300px;
}

.loxo-job-title {
    font-size: 2.5em;
    font-weight: 700;
    margin: 0 0 10px 0;
    line-height: 1.2;
    color: white !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    text-align: left;
}

.loxo-company-name h2 {
    font-size: 1.4em;
    font-weight: 500;
    margin: 0 0 20px 0;
    color: rgba(255, 255, 255, 0.9);
}

.loxo-job-meta-header {
    margin-top: 20px;
}

.loxo-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

.loxo-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 500;
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.loxo-meta-item .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.loxo-meta-item.remote {
    background: rgba(155, 89, 182, 0.8);
}

.loxo-apply-section {
    margin-top: 20px;
}

.loxo-apply-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #F69031;
    color: white !important;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(246, 144, 49, 0.3);
    border: none;
    cursor: pointer;
}

.loxo-apply-btn:hover {
    background: #e67e22;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(246, 144, 49, 0.4);
    color: white !important;
}

.loxo-apply-btn .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

/* Modal Styles for Apply Form */
.loxo-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.loxo-modal-overlay.active {
    display: flex;
}

.loxo-modal-content {
    background: white;
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
}

.loxo-modal-overlay .loxo-modal-header {
    background: #F69031;
    color: white !important;
    padding: 24px 24px 0 24px;
    border-bottom: 1px solid #e1e5e9;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
    border-bottom: none;
}

.loxo-modal-overlay .loxo-modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: white !important;
}

.loxo-modal-overlay .loxo-modal-close {
    background: none !important;
    border: none !important;
    color: white !important;
    font-size: 24px;
    cursor: pointer;
    padding: 4px !important;
    line-height: 1;
    transition: color 0.3s ease;
    width: 30px;
    height: 30px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    position: relative !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    bottom: auto !important;
}

.loxo-modal-overlay .loxo-modal-close:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
}

.loxo-modal-overlay .loxo-modal-body {
    padding: 24px;
}

.loxo-modal-iframe {
    width: 100%;
    height: calc(100% - 60px);
    border: none;
    background: white;
}

.loxo-modal-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    color: #F69031;
    font-size: 16px;
}

/* Modal Styles for SPA (loxo-modal class) */
.loxo-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.loxo-modal .loxo-modal-content,
.loxo-modal .loxo-apply-modal-content {
    background: white;
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
}

.loxo-modal .loxo-modal-header {
    padding: 24px 24px 0 24px;
    border-bottom: 1px solid #e1e5e9;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #F69031;
    color: white !important;
    margin-bottom: 0;
    border-bottom: none;
}

.loxo-modal .loxo-modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: white !important;
}

.loxo-modal .loxo-modal-close {
    background: none !important;
    border: none !important;
    color: white !important;
    font-size: 24px;
    cursor: pointer;
    padding: 4px !important;
    line-height: 1;
    transition: color 0.3s ease;
    width: 30px;
    height: 30px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    position: relative !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    bottom: auto !important;
}

.loxo-modal .loxo-modal-close:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
}

.loxo-modal .loxo-modal-body {
    padding: 24px;
}

/* Application Form Styles within SPA Modal */
.loxo-modal .loxo-application-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.loxo-modal .loxo-application-form .form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.loxo-modal .loxo-application-form .form-field.full-width,
.loxo-modal .loxo-application-form .form-field:only-child {
    grid-column: 1 / -1;
}

.loxo-modal .loxo-application-form label {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.loxo-modal .loxo-application-form input[type="text"],
.loxo-modal .loxo-application-form input[type="email"],
.loxo-modal .loxo-application-form input[type="tel"],
.loxo-modal .loxo-application-form textarea {
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    font-family: 'Raleway', sans-serif;
}

.loxo-modal .loxo-application-form input[type="text"]:focus,
.loxo-modal .loxo-application-form input[type="email"]:focus,
.loxo-modal .loxo-application-form input[type="tel"]:focus,
.loxo-modal .loxo-application-form textarea:focus {
    outline: none;
    border-color: #F69031;
    box-shadow: 0 0 0 3px rgba(246, 144, 49, 0.1);
}

.loxo-modal .loxo-application-form textarea {
    min-height: 100px;
    resize: vertical;
    font-family: 'Raleway', sans-serif;
}

.loxo-modal .loxo-application-form .file-upload-field {
    position: relative;
}

.loxo-modal .loxo-application-form input[type="file"] {
    width: 100%;
    padding: 12px 16px;
    border: 2px dashed #e1e5e9;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Raleway', sans-serif;
}

.loxo-modal .loxo-application-form input[type="file"]:hover {
    border-color: #F69031;
    background: #f8f9fa;
}

.loxo-modal .loxo-application-form .form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e1e5e9;
}

.loxo-modal .loxo-application-form .btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Raleway', sans-serif;
}

.loxo-modal .loxo-application-form .btn-primary {
    background: #F69031;
    color: white;
}

.loxo-modal .loxo-application-form .btn-primary:hover {
    background: #e67e22;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(246, 144, 49, 0.3);
}

.loxo-modal .loxo-application-form .btn-secondary {
    background: #f1f1f1;
    color: #666;
}

.loxo-modal .loxo-application-form .btn-secondary:hover {
    background: #e1e1e1;
    color: #333;
}

.loxo-modal .loxo-form-error {
    text-align: center;
    padding: 40px 20px;
    background: #fff8f8;
    border: 1px solid #fecaca;
    border-radius: 8px;
    color: #dc2626;
}

.loxo-modal .loxo-form-error h4 {
    margin: 0 0 15px 0;
    color: #dc2626;
}

.loxo-modal .loxo-form-error p {
    margin: 10px 0;
    color: #7f1d1d;
}

.loxo-modal .loxo-form-success {
    text-align: center;
    padding: 40px 20px;
    background: #f0fff4;
    border: 1px solid #86efac;
    border-radius: 8px;
    color: #166534;
}

.loxo-modal .loxo-form-success h4 {
    margin: 0 0 15px 0;
    color: #166534;
}

.loxo-modal .loxo-form-success p {
    margin: 10px 0;
    color: #14532d;
}

/* Application Form Styles within Single CPT Modal (loxo-modal-overlay) */
.loxo-modal-overlay .loxo-application-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.loxo-modal-overlay .loxo-application-form .form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.loxo-modal-overlay .loxo-application-form .form-field.full-width,
.loxo-modal-overlay .loxo-application-form .form-field:only-child {
    grid-column: 1 / -1;
}

.loxo-modal-overlay .loxo-application-form label {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.loxo-modal-overlay .loxo-application-form input[type="text"],
.loxo-modal-overlay .loxo-application-form input[type="email"],
.loxo-modal-overlay .loxo-application-form input[type="tel"],
.loxo-modal-overlay .loxo-application-form textarea {
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    font-family: 'Raleway', sans-serif;
}

.loxo-modal-overlay .loxo-application-form input[type="text"]:focus,
.loxo-modal-overlay .loxo-application-form input[type="email"]:focus,
.loxo-modal-overlay .loxo-application-form input[type="tel"]:focus,
.loxo-modal-overlay .loxo-application-form textarea:focus {
    outline: none;
    border-color: #F69031;
    box-shadow: 0 0 0 3px rgba(246, 144, 49, 0.1);
}

.loxo-modal-overlay .loxo-application-form textarea {
    min-height: 100px;
    resize: vertical;
    font-family: 'Raleway', sans-serif;
}

.loxo-modal-overlay .loxo-application-form .file-upload-field {
    position: relative;
}

.loxo-modal-overlay .loxo-application-form input[type="file"] {
    width: 100%;
    padding: 12px 16px;
    border: 2px dashed #e1e5e9;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Raleway', sans-serif;
}

.loxo-modal-overlay .loxo-application-form input[type="file"]:hover {
    border-color: #F69031;
    background: #f8f9fa;
}

.loxo-modal-overlay .loxo-application-form .form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e1e5e9;
}

.loxo-modal-overlay .loxo-application-form .btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Raleway', sans-serif;
}

.loxo-modal-overlay .loxo-application-form .btn-primary {
    background: #F69031;
    color: white;
}

.loxo-modal-overlay .loxo-application-form .btn-primary:hover {
    background: #e67e22;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(246, 144, 49, 0.3);
}

.loxo-modal-overlay .loxo-application-form .btn-secondary {
    background: #f1f1f1;
    color: #666;
}

.loxo-modal-overlay .loxo-application-form .btn-secondary:hover {
    background: #e1e1e1;
    color: #333;
}

.loxo-modal-overlay .loxo-form-error {
    text-align: center;
    padding: 40px 20px;
    background: #fff8f8;
    border: 1px solid #fecaca;
    border-radius: 8px;
    color: #dc2626;
}

.loxo-modal-overlay .loxo-form-error h4 {
    margin: 0 0 15px 0;
    color: #dc2626;
}

.loxo-modal-overlay .loxo-form-error p {
    margin: 10px 0;
    color: #7f1d1d;
}

.loxo-modal-overlay .loxo-form-success {
    text-align: center;
    padding: 40px 20px;
    background: #f0fff4;
    border: 1px solid #86efac;
    border-radius: 8px;
    color: #166534;
}

.loxo-modal-overlay .loxo-form-success h4 {
    margin: 0 0 15px 0;
    color: #166534;
}

.loxo-modal-overlay .loxo-form-success p {
    margin: 10px 0;
    color: #14532d;
}

/* SPA Form Container Styles */
.loxo-application-form-container {
    width: 100%;
}

.loxo-form-messages {
    margin-bottom: 20px;
}

.loxo-form-row {
    margin-bottom: 16px;
}

.loxo-form-label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
    font-family: 'Raleway', sans-serif;
}

.loxo-form-input,
.loxo-form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    font-family: 'Raleway', sans-serif;
    box-sizing: border-box;
}

.loxo-form-input:focus,
.loxo-form-textarea:focus {
    outline: none;
    border-color: #F69031;
    box-shadow: 0 0 0 3px rgba(246, 144, 49, 0.1);
}

.loxo-field-error {
    color: #dc3545;
    font-size: 12px;
    margin-top: 4px;
    display: none;
}

.loxo-field-error:not(:empty) {
    display: block;
}

.required {
    color: #dc3545;
}

/* File Upload Styles */
.loxo-file-upload-container {
    position: relative;
}

.loxo-file-input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.loxo-file-upload-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 24px;
    border: 2px dashed #e1e5e9;
    border-radius: 8px;
    background: #fafbfc;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Raleway', sans-serif;
    color: #666;
    font-weight: 500;
}

.loxo-file-upload-button:hover {
    border-color: #F69031;
    background: #fff8f3;
    color: #F69031;
}

.loxo-file-upload-button .dashicons {
    font-size: 20px;
    color: #F69031;
}

.loxo-file-selected {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #f0fff4;
    border: 2px solid #86efac;
    border-radius: 8px;
    color: #166534;
    font-family: 'Raleway', sans-serif;
}

.loxo-file-selected .dashicons {
    color: #28a745;
}

.loxo-file-remove {
    background: none;
    border: none;
    color: #dc3545;
    cursor: pointer;
    padding: 2px;
    margin-left: auto;
}

.loxo-file-remove:hover {
    color: #a71e2a;
}

.loxo-field-hint {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
    font-family: 'Raleway', sans-serif;
}

/* Consent Section */
.loxo-consent-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    border: 1px solid #e9ecef;
}

.loxo-checkbox-row {
    margin-bottom: 12px;
}

.loxo-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.5;
    font-family: 'Raleway', sans-serif;
}

.loxo-checkbox {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #e1e5e9;
    border-radius: 4px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 2px;
}

.loxo-checkbox:checked + .checkmark {
    background: #F69031;
    border-color: #F69031;
}

.loxo-checkbox:checked + .checkmark::after {
    content: '✓';
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.consent-text {
    color: #333;
}

.loxo-gdpr-notice {
    margin-top: 16px;
    padding: 12px;
    background: #e3f2fd;
    border-radius: 6px;
    border: 1px solid #bbdefb;
}

.gdpr-text {
    margin: 0;
    font-size: 13px;
    color: #1565c0;
    font-family: 'Raleway', sans-serif;
}

.gdpr-text a {
    color: #F69031;
    text-decoration: none;
}

.gdpr-text a:hover {
    text-decoration: underline;
}

/* Submit Section */
.loxo-submit-row {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e1e5e9;
}

.loxo-submit-button,
.loxo-cancel-button {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Raleway', sans-serif;
}

.loxo-submit-button {
    background: #F69031;
    color: white;
}

.loxo-submit-button:hover:not(:disabled) {
    background: #e67e22;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(246, 144, 49, 0.3);
}

.loxo-submit-button:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.loxo-cancel-button {
    background: #f1f1f1;
    color: #666;
    border: 1px solid #e1e5e9;
}

.loxo-cancel-button:hover {
    background: #e1e1e1;
    color: #333;
}

.loading-spinner {
    display: flex;
    align-items: center;
    gap: 8px;
}

.spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Progress Indicator */
.loxo-progress-indicator {
    margin-top: 16px;
    text-align: center;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: #e1e5e9;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    background: #F69031;
    width: 0%;
    transition: width 0.3s ease;
    animation: progress-animation 2s ease-in-out infinite;
}

@keyframes progress-animation {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

.progress-text {
    font-size: 13px;
    color: #666;
    font-family: 'Raleway', sans-serif;
}

/* Success Message */
.loxo-success-message {
    text-align: center;
    padding: 40px 20px;
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    color: #155724;
}

.success-icon {
    margin-bottom: 16px;
}

.success-icon .dashicons {
    font-size: 48px;
    color: #28a745;
}

.loxo-success-message h4 {
    margin: 0 0 16px 0;
    font-size: 20px;
    font-weight: 600;
    color: #155724;
    font-family: 'Raleway', sans-serif;
}

.loxo-success-message p {
    margin: 0;
    font-size: 16px;
    color: #155724;
    font-family: 'Raleway', sans-serif;
}

/* Social Share Buttons */
.loxo-social-share {
    margin-top: 0;
    padding-top: 0;
}

.loxo-social-share h5 {
    font-size: 1.2em;
    margin: 0 0 15px 0;
    color: #2c3e50;
    font-weight: 600;
}

.loxo-share-buttons {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
}

.loxo-share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border: none;
    border-radius: 50%;
    text-decoration: none;
    font-weight: 500;
    font-size: 0;
    transition: all 0.3s ease;
    cursor: pointer;
    width: 40px;
    height: 40px;
    box-sizing: border-box;
}

.loxo-share-btn svg {
    flex-shrink: 0;
    fill: white !important;
    color: white !important;
}

.loxo-share-btn svg path {
    fill: white !important;
}

.loxo-share-linkedin {
    background: #0077b5;
    color: white;
}

.loxo-share-linkedin:hover {
    background: #005885;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
}

.loxo-share-twitter {
    background: #1da1f2;
    color: white;
}

.loxo-share-twitter:hover {
    background: #0d8bd9;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
}

.loxo-share-facebook {
    background: #1877f2;
    color: white;
}

.loxo-share-facebook:hover {
    background: #166fe5;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
}

.loxo-share-email {
    background: #6c757d;
    color: white;
}

.loxo-share-email:hover {
    background: #5a6268;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
}

.loxo-share-copy {
    background: #F69031;
    color: white;
    border: none;
    font-family: inherit;
}

.loxo-share-copy:hover {
    background: #e67e22;
    transform: translateY(-1px);
}

/* Job Content */
.loxo-job-content {
    padding: 40px 0;
    border: none;
}

.loxo-job-content .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.loxo-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    align-items: start;
}

.loxo-job-description {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.loxo-job-description h3 {
    font-size: 1.8em;
    margin: 0 0 20px 0;
    color: #2c3e50;
    border-bottom: 3px solid #F69031;
    padding-bottom: 10px;
}

.loxo-job-description p {
    margin-bottom: 10px !important;
}

.loxo-job-description ul {
    margin-bottom: 10px !important;
}

/* Back to Jobs Link */
.loxo-back-to-jobs {
    margin-bottom: 25px;
}

.loxo-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #F69031;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    padding: 8px 0;
}

.loxo-back-link:hover {
    color: #e67e22;
    text-decoration: none;
    transform: translateX(-3px);
}

.loxo-back-link svg {
    transition: transform 0.3s ease;
}

.loxo-back-link:hover svg {
    transform: translateX(-2px);
}

.loxo-job-description .job-content {
    line-height: 1.7;
    color: #444;
}

.loxo-job-description .job-content h1,
.loxo-job-description .job-content h2,
.loxo-job-description .job-content h3,
.loxo-job-description .job-content h4 {
    color: #2c3e50;
    margin-top: 30px;
    margin-bottom: 15px;
}

.loxo-job-description .job-content ul,
.loxo-job-description .job-content ol {
    margin: 15px 0;
    padding-left: 30px;
}

.loxo-job-description .job-content li {
    margin-bottom: 8px;
}

/* Sidebar */
.loxo-job-sidebar {
    position: sticky;
    top: 20px;
}

.loxo-job-details-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-top: 4px solid #F69031;
}

.loxo-job-details-card h4 {
    font-size: 1.4em;
    margin: 0 0 25px 0;
    color: #2c3e50;
    text-align: center;
}

.loxo-job-details-card h5 {
    font-size: 1.2em;
    margin: 30px 0 15px 0;
    color: #2c3e50;
    padding-top: 20px;
    text-align: center;
}

.loxo-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid #ecf0f1;
}

.loxo-detail-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.loxo-detail-item strong {
    color: #2c3e50;
    font-weight: 600;
    flex-shrink: 0;
    margin-right: 10px;
}

.loxo-detail-item span {
    color: #555;
    text-align: right;
    flex: 1;
}

.loxo-detail-item a {
    color: #3498db;
    text-decoration: none;
}

.loxo-detail-item a:hover {
    text-decoration: underline;
}

.loxo-sidebar-apply {
    margin-top: 30px;
    text-align: center;
}

.loxo-apply-btn-large {
    width: 100%;
    justify-content: center;
    padding: 18px 20px;
    font-size: 1.1em;
}

/* Apply button in content area */
.loxo-content-apply {
    margin: 30px 0 !important;
    border-radius: 8px;
}

.loxo-content-apply .loxo-apply-btn {
    background: #F69031;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 6px;
    font-size: 1.1em;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(246, 144, 49, 0.2);
}

.loxo-content-apply .loxo-apply-btn:hover {
    background: #e5812c;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(246, 144, 49, 0.3);
    color: white;
    text-decoration: none;
}

.loxo-content-apply .loxo-apply-btn .dashicons {
    font-size: 16px;
    margin-top: -2px;
}

/* Enhanced Responsive Design */
@media (max-width: 1024px) {
    /* Tablet adjustments */
    .loxo-breadcrumb ol {
        padding: 0 16px;
    }
    
    .loxo-job-header {
        padding: 50px 0 35px;
    }
    
    .loxo-job-header .container {
        padding: 0 16px;
    }
    
    .loxo-job-title {
        font-size: 2.2em;
    }
    
    .loxo-company-name h2 {
        font-size: 1.3em;
    }
    
    .loxo-content-wrapper {
        grid-template-columns: 1fr 300px;
        gap: 30px;
    }
    
    .loxo-job-description,
    .loxo-job-details-card {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    /* Mobile optimizations */
    .loxo-breadcrumb {
        padding: 12px 0;
    }
    
    .loxo-breadcrumb ol {
        padding: 0 12px;
        font-size: 13px;
    }
    
    .loxo-breadcrumb li:not(:last-child)::after {
        margin: 0 6px;
    }
    
    .loxo-job-header {
        padding: 40px 0 30px;
    }
    
    .loxo-job-header .container {
        padding: 0 12px;
    }
    
    .loxo-job-header-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }
    
    .loxo-company-logo img {
        width: 70px;
        height: 70px;
        padding: 8px;
    }
    
    .loxo-job-title-section {
        min-width: auto;
        width: 100%;
    }
    
    .loxo-job-title {
        font-size: 2em;
        text-align: center;
    }
    
    .loxo-company-name h2 {
        font-size: 1.2em;
        text-align: center;
        margin-bottom: 16px;
    }
    
    .loxo-job-meta-header {
        margin-top: 16px;
    }
    
    .loxo-meta-row {
        justify-content: center;
        gap: 12px;
        flex-wrap: wrap;
    }
    
    .loxo-meta-item {
        font-size: 0.8em;
        padding: 6px 12px;
        border-radius: 16px;
    }
    
    .loxo-meta-item .dashicons {
        font-size: 14px;
        width: 14px;
        height: 14px;
    }
    
    .loxo-apply-section {
        margin-top: 16px;
        text-align: center;
    }
    
    .loxo-apply-btn {
        padding: 12px 24px;
        font-size: 1em;
        border-radius: 6px;
    }
    
    .loxo-apply-btn .dashicons {
        font-size: 16px;
        width: 16px;
        height: 16px;
    }
    
    /* Modal mobile adjustments */
    .loxo-modal-overlay {
        padding: 10px;
        align-items: flex-start;
        padding-top: 40px;
    }
    
    .loxo-modal-overlay .loxo-modal-content {
        width: 100%;
        max-width: none;
        border-radius: 8px;
    }
    
    .loxo-modal-overlay .loxo-modal-header {
        padding: 20px 20px 20px 20px;
        margin-bottom: 0;
    }
    
    .loxo-modal-overlay .loxo-modal-header h3 {
        font-size: 18px;
    }
    
    .loxo-modal-overlay .loxo-modal-body {
        padding: 20px;
    }

    .loxo-modal-iframe {
        height: calc(100% - 50px);
    }
    
    /* SPA Modal mobile adjustments */
    .loxo-modal {
        padding: 10px;
        align-items: flex-start;
        padding-top: 40px;
    }
    
    .loxo-modal .loxo-modal-content,
    .loxo-modal .loxo-apply-modal-content {
        max-width: 100%;
        margin: 0;
        border-radius: 8px;
    }
    
    .loxo-modal .loxo-modal-header {
        padding: 20px 20px 20px 20px;
        margin-bottom: 0;
    }
    
    .loxo-modal .loxo-modal-header h3 {
        font-size: 18px;
    }
    
    .loxo-modal .loxo-modal-body {
        padding: 20px;
    }
    
    .loxo-modal .loxo-application-form .form-row {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 12px;
    }
    
    .loxo-modal .loxo-application-form .form-field {
        gap: 4px;
    }
    
    .loxo-modal .loxo-application-form input[type="text"],
    .loxo-modal .loxo-application-form input[type="email"],
    .loxo-modal .loxo-application-form input[type="tel"],
    .loxo-modal .loxo-application-form textarea {
        padding: 14px 16px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .loxo-modal .loxo-application-form .form-actions {
        flex-direction: column;
        margin-top: 20px;
        padding-top: 16px;
    }
    
    .loxo-modal .loxo-application-form .btn {
        padding: 14px 24px;
        font-size: 16px;
        justify-content: center;
    }
    
    /* Single CPT Modal mobile adjustments */
    .loxo-modal-overlay .loxo-application-form .form-row {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 12px;
    }
    
    .loxo-modal-overlay .loxo-application-form .form-field {
        gap: 4px;
    }
    
    .loxo-modal-overlay .loxo-application-form input[type="text"],
    .loxo-modal-overlay .loxo-application-form input[type="email"],
    .loxo-modal-overlay .loxo-application-form input[type="tel"],
    .loxo-modal-overlay .loxo-application-form textarea {
        padding: 14px 16px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .loxo-modal-overlay .loxo-application-form .form-actions {
        flex-direction: column;
        margin-top: 20px;
        padding-top: 16px;
    }
    
    .loxo-modal-overlay .loxo-application-form .btn {
        padding: 14px 24px;
        font-size: 16px;
        justify-content: center;
    }
    
    /* Content layout mobile */
    .loxo-job-content {
        padding: 30px 0;
    }
    
    .loxo-job-content .container {
        padding: 0 12px;
    }
    
    .loxo-content-wrapper {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .loxo-job-description {
        padding: 25px;
        border-radius: 8px;
    }
    
    .loxo-job-description h3 {
        font-size: 1.5em;
        margin-bottom: 16px;
        padding-bottom: 8px;
    }
    
    .loxo-job-description .job-content {
        line-height: 1.6;
    }
    
    .loxo-job-description .job-content h1,
    .loxo-job-description .job-content h2,
    .loxo-job-description .job-content h3,
    .loxo-job-description .job-content h4 {
        margin-top: 20px;
        margin-bottom: 12px;
        font-size: 1.2em;
    }
    
    .loxo-job-description .job-content ul,
    .loxo-job-description .job-content ol {
        margin: 12px 0;
        padding-left: 24px;
    }
    
    .loxo-job-description .job-content li {
        margin-bottom: 6px;
    }
    
    /* Sidebar mobile */
    .loxo-job-sidebar {
        position: static;
        order: -1; /* Show sidebar before content on mobile */
    }
    
    .loxo-job-details-card {
        padding: 20px;
        border-radius: 8px;
        border-top-width: 3px;
    }
    
    .loxo-job-details-card h4 {
        font-size: 1.2em;
        margin-bottom: 20px;
    }
    
    .loxo-job-details-card h5 {
        font-size: 1.1em;
        margin: 20px 0 12px 0;
        padding-top: 16px;
    }
    
    .loxo-detail-item {
        margin-bottom: 12px;
        padding-bottom: 10px;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .loxo-detail-item strong {
        margin-right: 0;
        font-size: 13px;
    }
    
    .loxo-detail-item span {
        text-align: left;
        font-size: 14px;
    }
    
    .loxo-sidebar-apply {
        margin-top: 20px;
    }
    
    .loxo-apply-btn-large {
        padding: 14px 20px;
        font-size: 1em;
    }
    
    /* Back to jobs link mobile */
    .loxo-back-to-jobs {
        margin-bottom: 20px;
    }
    
    .loxo-back-link {
        font-size: 13px;
        padding: 8px 0;
        gap: 6px;
    }
    
    /* Social share mobile */
    .loxo-social-share h5 {
        font-size: 1.1em;
        margin-bottom: 12px;
    }
    
    .loxo-share-buttons {
        gap: 8px;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .loxo-share-btn {
        width: 36px;
        height: 36px;
        padding: 8px;
    }
    
    .loxo-share-btn svg {
        width: 16px;
        height: 16px;
    }
    
    /* Content apply button mobile */
    .loxo-content-apply {
        margin: 25px 0 !important;
        text-align: center;
    }
    
    .loxo-content-apply .loxo-apply-btn {
        width: 100%;
        max-width: 300px;
        padding: 12px 24px;
        font-size: 1em;
        justify-content: center;
    }
    
    .loxo-content-apply .loxo-apply-btn .dashicons {
        font-size: 14px;
    }
    
    /* Share section mobile */
    .loxo-share-section {
        margin-top: 20px;
        padding-top: 16px;
        text-align: center;
    }
    
    .loxo-share-section h4 {
        font-size: 1em;
        margin-bottom: 12px;
    }
    
    .loxo-share-buttons {
        justify-content: center;
        gap: 8px;
    }
    
    .loxo-share-btn {
        width: 36px;
        height: 36px;
    }
    
    .loxo-share-btn .dashicons {
        font-size: 14px !important;
        width: auto !important;
        height: auto !important;
    }
}

@media (max-width: 480px) {
    /* Small mobile optimizations */
    .loxo-breadcrumb {
        padding: 10px 0;
    }
    
    .loxo-breadcrumb ol {
        padding: 0 10px;
        font-size: 12px;
        flex-wrap: wrap;
    }
    
    .loxo-breadcrumb li {
        margin-bottom: 2px;
    }
    
    .loxo-job-header {
        padding: 30px 0 25px;
    }
    
    .loxo-job-header .container {
        padding: 0 10px;
    }
    
    .loxo-job-header-content {
        gap: 16px;
    }
    
    .loxo-company-logo img {
        width: 60px;
        height: 60px;
        padding: 6px;
    }
    
    .loxo-job-title {
        font-size: 1.6em;
        line-height: 1.3;
    }
    
    .loxo-company-name h2 {
        font-size: 1.1em;
        margin-bottom: 12px;
    }
    
    .loxo-meta-row {
        gap: 8px;
        flex-direction: column;
        align-items: center;
    }
    
    .loxo-meta-item {
        font-size: 0.75em;
        padding: 5px 10px;
        border-radius: 12px;
        width: auto;
        justify-content: center;
    }
    
    .loxo-meta-item .dashicons {
        font-size: 12px;
        width: 12px;
        height: 12px;
    }
    
    .loxo-apply-btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    
    .loxo-modal-overlay {
        padding: 5px;
    }
    
    .loxo-modal-content {
        border-radius: 6px;
    }
    
    .loxo-modal-header {
        padding: 10px 12px;
    }
    
    .loxo-modal-header h3 {
        font-size: 1em;
    }
    
    .loxo-modal-close {
        width: 28px !important;
        height: 28px !important;
        font-size: 18px;
    }
    
    .loxo-job-content {
        padding: 25px 0;
    }
    
    .loxo-job-content .container {
        padding: 0 10px;
    }
    
    .loxo-content-wrapper {
        gap: 20px;
    }
    
    .loxo-job-description {
        padding: 20px;
    }
    
    .loxo-job-description h3 {
        font-size: 1.3em;
        margin-bottom: 14px;
    }
    
    .loxo-job-description .job-content h1,
    .loxo-job-description .job-content h2,
    .loxo-job-description .job-content h3,
    .loxo-job-description .job-content h4 {
        font-size: 1.1em;
        margin-top: 16px;
        margin-bottom: 10px;
    }
    
    .loxo-job-description .job-content ul,
    .loxo-job-description .job-content ol {
        padding-left: 20px;
    }
    
    .loxo-job-details-card {
        padding: 16px;
    }
    
    .loxo-job-details-card h4 {
        font-size: 1.1em;
        margin-bottom: 16px;
    }
    
    .loxo-job-details-card h5 {
        font-size: 1em;
        margin: 16px 0 10px 0;
        padding-top: 12px;
    }
    
    .loxo-detail-item {
        margin-bottom: 10px;
        padding-bottom: 8px;
    }
    
    .loxo-detail-item strong {
        font-size: 12px;
    }
    
    .loxo-detail-item span {
        font-size: 13px;
    }
    
    .loxo-apply-btn-large {
        padding: 12px 16px;
        font-size: 0.95em;
    }
    
    .loxo-back-link {
        font-size: 12px;
        gap: 5px;
    }
    
    .loxo-social-share h5 {
        font-size: 1em;
        margin-bottom: 10px;
    }
    
    .loxo-share-buttons {
        gap: 6px;
    }
    
    .loxo-share-btn {
        width: 32px;
        height: 32px;
        padding: 6px;
    }
    
    .loxo-share-btn svg {
        width: 14px;
        height: 14px;
    }
    
    .loxo-content-apply .loxo-apply-btn {
        padding: 10px 20px;
        font-size: 0.95em;
    }
    
    .loxo-share-section h4 {
        font-size: 0.9em;
        margin-bottom: 10px;
    }
    
    .loxo-share-btn .dashicons {
        font-size: 12px !important;
    }
}

@media (max-width: 320px) {
    /* Very small screens */
    .loxo-breadcrumb ol {
        padding: 0 8px;
        font-size: 11px;
    }
    
    .loxo-job-header .container {
        padding: 0 8px;
    }
    
    .loxo-job-title {
        font-size: 1.4em;
    }
    
    .loxo-company-name h2 {
        font-size: 1em;
    }
    
    .loxo-meta-item {
        font-size: 0.7em;
        padding: 4px 8px;
    }
    
    .loxo-apply-btn {
        padding: 8px 16px;
        font-size: 0.85em;
    }
    
    .loxo-job-content .container {
        padding: 0 8px;
    }
    
    .loxo-job-description,
    .loxo-job-details-card {
        padding: 16px;
    }
    
    .loxo-job-description h3 {
        font-size: 1.2em;
    }
    
    .loxo-share-btn {
        width: 28px;
        height: 28px;
        padding: 5px;
    }
    
    .loxo-share-btn svg {
        width: 12px;
        height: 12px;
    }
}

/* Landscape orientation adjustments for mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .loxo-job-header {
        padding: 25px 0 20px;
    }
    
    .loxo-job-header-content {
        flex-direction: row;
        text-align: left;
        gap: 20px;
    }
    
    .loxo-job-title {
        text-align: left;
        font-size: 1.8em;
    }
    
    .loxo-company-name h2 {
        text-align: left;
    }
    
    .loxo-meta-row {
        justify-content: flex-start;
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .loxo-apply-section {
        text-align: left;
    }
    
    .loxo-modal-content {
        width: 95%;
        height: 95%;
    }
}

/* Touch device optimizations */
@media (pointer: coarse) {
    /* Ensure all interactive elements meet minimum touch target size */
    .loxo-apply-btn,
    .loxo-back-link,
    .loxo-share-btn,
    .loxo-modal-close {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Disable hover effects on touch devices */
    .loxo-apply-btn:hover,
    .loxo-back-link:hover,
    .loxo-share-btn:hover {
        transform: none;
    }
    
    /* Adjust for smaller screens on touch devices */
    @media (max-width: 480px) {
        .loxo-apply-btn,
        .loxo-apply-btn-large {
            min-height: 40px;
        }
        
        .loxo-share-btn {
            min-height: 36px;
            min-width: 36px;
        }
        
        .loxo-back-link {
            min-height: 36px;
            padding: 10px 0;
        }
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .loxo-job-header {
        border-bottom: 2px solid #000;
    }
    
    .loxo-job-description,
    .loxo-job-details-card {
        border: 2px solid #000;
    }
    
    .loxo-apply-btn,
    .loxo-share-btn {
        border: 2px solid #000;
    }
    
    .loxo-meta-item {
        border: 1px solid #000;
    }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .loxo-apply-btn,
    .loxo-back-link,
    .loxo-share-btn {
        transition: none;
    }
    
    .loxo-apply-btn:hover,
    .loxo-back-link:hover,
    .loxo-share-btn:hover {
        transform: none;
    }
}

/* Share Section Styles */
.loxo-share-section {
    margin-top: 30px;
    padding-top: 20px;
}

.loxo-share-section h4 {
    margin: 0 0 15px 0;
    font-size: 1.1em;
    color: #2c3e50;
    font-weight: 600;
}

.loxo-share-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.loxo-share-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white !important;
    text-decoration: none !important;
    transition: all 0.3s ease;
    font-size: 16px;
    text-align: center !important;
}

.loxo-share-btn .dashicons {
    color: white !important;
    font-size: 16px !important;
    line-height: 1 !important;
    width: auto !important;
    height: auto !important;
}

.loxo-share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    color: white !important;
    text-decoration: none !important;
}

.loxo-share-btn:hover .dashicons {
    color: white !important;
}

.loxo-share-linkedin {
    background: #0077b5;
}

.loxo-share-linkedin:hover {
    background: #005885;
}

.loxo-share-twitter {
    background: #1da1f2;
}

.loxo-share-twitter:hover {
    background: #0d8bd9;
}

.loxo-share-facebook {
    background: #4267b2;
}

.loxo-share-facebook:hover {
    background: #365899;
}

.loxo-share-email {
    background: #34495e;
}

.loxo-share-email:hover {
    background: #2c3e50;
}

.loxo-share-copy {
    background: #F69031;
}

.loxo-share-copy:hover {
    background: #e67e22;
}

/* Print Styles */
@media print {
    .loxo-apply-btn,
    .loxo-apply-section,
    .loxo-sidebar-apply {
        display: none;
    }
    
    .loxo-job-header {
        background: #2c3e50 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    
    .loxo-content-wrapper {
        grid-template-columns: 1fr;
    }
}
