/**
 * Styles pour le plugin Métal Rouge SAMR - Extension
 */

/* Styles généraux des listes d'emplois */
.job-listings {
    max-width: 1000px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
}

.job-listing-item {
    background: #fff;
    border-radius: 12px;
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.job-listing-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #dc2626;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.job-listing-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    border-color: rgba(220, 38, 38, 0.2);
}

.job-listing-item:hover::before {
    opacity: 1;
    width: 6px;
}

.job-info {
    flex: 1;
    padding-right: 24px;
}

.job-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 12px;
    color: #1a1a1a;
    transition: color 0.2s ease;
}

.job-listing-item:hover .job-title {
    color: #dc2626;
}

.job-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.department,
.location {
    font-size: 14px;
    color: #555;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.03);
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 500;
}

.department::before,
.location::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 8px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.75;
}

.department::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="16" height="16" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M16 7a4 4 0 11-8 0 4 4 0 018 0z"/><path d="M12 14c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"/></svg>');
}

.location::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="16" height="16" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0118 0z"/><circle cx="12" cy="10" r="3"/></svg>');
}

/* Job Description Styles */
.job-description-container {
    margin-bottom: 20px;
    position: relative;
}

.job-description {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
}

.job-description-short.has-more {
    position: relative;
}

.job-description-full {
    animation: fadeIn 0.5s ease;
}

.show-more-btn {
    background: transparent;
    border: none;
    color: #dc2626;
    background-color: unset !important;
    font-weight: 600;
    cursor: pointer;
    padding: 5px 0;
    font-size: 14px;
    transition: all 0.2s ease;
    position: relative;
    display: inline-flex;
    align-items: center;
}

.show-more-btn:hover {
    color: #b91c1c !important;
    background-color: unset !important;
    text-decoration: underline;
}

.show-more-btn:focus {
    background-color: unset !important;
}

.show-more-btn:after {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-left: 5px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="14" height="14" fill="none" stroke="%23dc2626" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>');
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.3s ease;
}

.show-more-btn[data-show-more="false"]:after {
    transform: rotate(180deg);
}

/* Requirements styles with tags */
.job-requirements {
    margin-top: 18px;
}

.job-requirements h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 12px;
    color: #1a1a1a;
    position: relative;
    padding-left: 16px;
}

.job-requirements h4::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: #dc2626;
    border-radius: 50%;
}

.job-skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.job-skill-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background-color: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    font-size: 13px;
    color: #333;
    font-weight: 500;
    transition: all 0.2s ease;
}

.job-skill-tag:hover {
    background-color: #dc26261a;
    border-color: #dc26263d;
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.apply-button {
    background: #dc2626;
    color: #fff;
    border: none;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    font-size: 15px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(220, 38, 38, 0.25);
}

.apply-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.apply-button:hover {
    background: #b91c1c;
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 6px 15px rgba(185, 28, 28, 0.3);
}

.apply-button:hover::before {
    left: 100%;
}

.apply-button:active {
    transform: scale(0.98) translateY(0);
    box-shadow: 0 2px 5px rgba(185, 28, 28, 0.3);
}

/* Message de liste vide */
.job-listings-empty {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    margin-bottom: 30px;
    border: 1px dashed #ddd;
    transition: all 0.3s ease;
}

.job-listings-empty:hover {
    border-color: #dc2626;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.job-listings-empty h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #333;
}

.job-listings-empty p {
    font-size: 16px;
    color: #666;
    margin-bottom: 25px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.spontaneous-application-button {
    background: #dc2626;
    color: #fff;
    border: none;
    padding: 14px 30px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 16px;
    display: inline-block;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(220, 38, 38, 0.25);
}

.spontaneous-application-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.spontaneous-application-button:hover {
    background: #b91c1c;
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 6px 15px rgba(185, 28, 28, 0.3);
}

.spontaneous-application-button:hover::before {
    left: 100%;
}

.spontaneous-application-button:active {
    transform: scale(0.98) translateY(0);
    box-shadow: 0 2px 5px rgba(185, 28, 28, 0.3);
}

/* Styles du Modal */
.job-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    backdrop-filter: blur(5px);
}

.job-modal-overlay.visible {
    opacity: 1;
    visibility: visible;
}

.job-modal-content {
    background: #fff;
    padding: 36px;
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.job-modal-overlay.visible .job-modal-content {
    opacity: 1;
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #666;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.03);
}

.modal-close:hover {
    color: #dc2626;
    background: #f9f9f9;
    transform: rotate(90deg);
}

.modal-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 24px;
    color: #1a1a1a;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 16px;
}

/* Styles du formulaire de candidature */
.job-application-form .form-group,
.spontaneous-application-form .form-group {
    margin-bottom: 24px;
    position: relative;
}

.form-row {
    display: flex;
    gap: 24px;
    margin-bottom: 0;
}

.form-row .form-group {
    flex: 1;
}

.job-application-form label,
.spontaneous-application-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.required-field {
    color: #dc2626;
    margin-left: 3px;
}

.required-fields-notice {
    font-size: 13px;
    color: #666;
    margin-top: 15px;
    margin-bottom: 20px;
    font-style: italic;
}

.job-application-form input[type="text"],
.job-application-form input[type="email"],
.job-application-form input[type="tel"],
.job-application-form textarea,
.spontaneous-application-form input[type="text"],
.spontaneous-application-form input[type="email"],
.spontaneous-application-form input[type="tel"],
.spontaneous-application-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: #f9fafb;
}

.job-application-form input[type="text"]:focus,
.job-application-form input[type="email"]:focus,
.job-application-form input[type="tel"]:focus,
.job-application-form textarea:focus,
.spontaneous-application-form input[type="text"]:focus,
.spontaneous-application-form input[type="email"]:focus,
.spontaneous-application-form input[type="tel"]:focus,
.spontaneous-application-form textarea:focus {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2);
    outline: none;
    background-color: #fff;
}

.job-application-form textarea,
.spontaneous-application-form textarea {
    min-height: 140px;
    resize: vertical;
}

/* Zone de téléchargement de fichiers */
.file-upload-zone {
    width: 100%;
    padding: 36px 25px;
    border: 2px dashed #ddd;
    border-radius: 10px;
    background: #f9fafb;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.file-upload-zone:hover,
.file-upload-zone.dragover {
    border-color: #dc2626;
    background: #fef2f2;
}

.file-upload-icon {
    display: block;
    width: 48px;
    height: 48px;
    margin: 0 auto 15px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="48" height="48" fill="none" stroke="%23dc2626" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 15v4a2 2 0 01-2 2H5a2 2 0 01-2-2v-4"/><polyline points="17 8 12 3 7 8"/><line x1="12" y1="3" x2="12" y2="15"/></svg>');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transition: transform 0.3s ease;
}

.file-upload-zone:hover .file-upload-icon {
    transform: translateY(-5px);
}

.file-upload-text {
    font-size: 16px;
    color: #444;
    margin-bottom: 5px;
    font-weight: 500;
}

.file-upload-info {
    font-size: 13px;
    color: #888;
}

.file-upload-input {
    position: absolute;
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    z-index: -1;
}

.file-count-indicator {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(220, 38, 38, 0.1);
    color: #dc2626;
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* Liste des fichiers téléchargés */
.uploaded-files {
    margin-top: 16px;
}

.uploaded-file {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background: white;
    border-radius: 8px;
    margin-bottom: 8px;
    border: 1px solid #eee;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    animation: file-appear 0.4s ease-out forwards;
    transition: all 0.3s ease;
}

.uploaded-file.removing {
    opacity: 0;
    transform: translateX(20px);
}

.uploaded-file-name {
    flex: 1;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
    color: #444;
}

/* Style amélioré pour le bouton de suppression des pièces jointes */
.remove-file {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f3f4f6;
    border: none;
    color: #dc2626;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    margin-left: 10px;
    padding: 0;
    font-size: 16px;
    line-height: 1;
    position: relative;
}

.remove-file:hover {
    background-color: #fee2e2;
    transform: scale(1.1) rotate(90deg);
}

.remove-file::before {
    content: "×";
    font-weight: bold;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Bouton de soumission */
.submit-application {
    background: #dc2626;
    color: #fff;
    border: none;
    padding: 14px 24px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s;
    font-size: 16px;
    margin-top: 10px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(220, 38, 38, 0.25);
}

.submit-application::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.submit-application:hover {
    background: #b91c1c;
    transform: scale(1.02) translateY(-2px);
    box-shadow: 0 6px 15px rgba(185, 28, 28, 0.3);
}

.submit-application:hover::before {
    left: 100%;
}

.submit-application:active {
    transform: scale(0.98) translateY(0);
    box-shadow: 0 2px 5px rgba(185, 28, 28, 0.3);
}

/* Message de succès */
.application-success {
    text-align: center;
    padding: 40px 20px;
}

/* Correction de l'icône de succès avec SVG */
.success-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    animation: success-icon-appear 0.5s ease-out forwards;
    display: inline-block;
    transform: scale(0);
}

.success-icon svg {
    width: 100%;
    height: 100%;
}

.success-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #333;
    opacity: 0;
    animation: success-text-appear 0.5s ease-out 0.5s forwards;
}

.success-message {
    font-size: 16px;
    color: #555;
    margin-bottom: 30px;
    opacity: 0;
    animation: success-text-appear 0.5s ease-out 0.7s forwards;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.close-success-button {
    background: #f3f4f6;
    color: #333;
    border: none;
    padding: 12px 30px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    opacity: 0;
    animation: success-text-appear 0.5s ease-out 0.9s forwards;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.close-success-button:hover {
    background: #e5e7eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Checkbox de confidentialité */
.privacy-checkbox {
    display: flex;
    align-items: center;
    margin-top: 24px;
    margin-bottom: 16px;
    background: #f9fafb;
    padding: 12px 16px;
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

.privacy-checkbox:hover {
    background: #f3f4f6;
}

.privacy-checkbox input[type="checkbox"] {
    margin-right: 12px;
    margin-top: 3px;
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 2px solid #ddd;
    transition: all 0.3s;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    position: relative;
    cursor: pointer;
}

.privacy-checkbox input[type="checkbox"]:checked {
    background-color: #dc2626;
    border-color: #dc2626;
}

.privacy-checkbox input[type="checkbox"]:checked::before {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.privacy-checkbox label {
    font-size: 14px;
    color: #555;
    margin-bottom: 0;
    font-weight: 500;
}

.privacy-checkbox a {
    color: #dc2626;
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 600;
}

.privacy-checkbox a:hover {
    text-decoration: underline;
    color: #b91c1c;
}

/* Gestion des erreurs de formulaire */
.form-error {
    color: #dc2626;
    font-size: 14px;
    margin-top: 6px;
    padding: 10px 14px;
    background-color: rgba(220, 38, 38, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    animation: error-appear 0.4s ease-out forwards;
    border-left: 3px solid #dc2626;
}

.form-error::before {
    content: "⚠️";
    margin-right: 8px;
    font-size: 16px;
}

/* Indicateur de chargement */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s linear infinite;
    vertical-align: middle;
}

/* Styles pour intlTelInput */
.iti {
    width: 100%;
}

.iti__flag {
    background-image: url("https://cdn.jsdelivr.net/npm/intl-tel-input@25.3.1/build/img/flags.png");
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .iti__flag {
        background-image: url("https://cdn.jsdelivr.net/npm/intl-tel-input@25.3.1/build/img/flags@2x.png");
    }
}

.iti--allow-dropdown input {
    padding-left: 52px;
}

.iti--separate-dial-code .iti__selected-dial-code {
    padding-left: 6px;
}

.iti__country-list {
    max-height: 180px;
    overflow-y: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    border: 1px solid #eaeaea;
    margin-top: 5px;
}

.iti__country {
    transition: background-color 0.2s ease;
    padding: 8px 10px;
}

.iti__country:hover {
    background-color: #f9f9f9;
}

/* Styles par défaut pour le sélecteur de pays - Utilise des variables CSS pour la compatibilité avec les variables globales Elementor */
.iti__selected-country {
    background-color: var(--phone-country-bg, transparent) !important;
    border: var(--phone-country-border-width, 1px) var(--phone-country-border-style, solid) var(--phone-country-border-color, #c36) !important;
    border-radius: var(--phone-country-border-radius, 3px) !important;
    color: var(--phone-country-color, #c36) !important;
    font-size: var(--phone-country-font-size, 1rem) !important;
    font-weight: var(--phone-country-font-weight, 400) !important;
    font-family: var(--phone-country-font-family, inherit) !important;
    padding: var(--phone-country-padding, 0.5rem 1rem) !important;
    text-align: var(--phone-country-text-align, center) !important;
    transition: var(--phone-country-transition, all 0.3s ease) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: var(--phone-country-justify, center) !important;
    box-shadow: var(--phone-country-box-shadow, none) !important;
    transform: var(--phone-country-transform, none) !important;
}

.iti__selected-country:hover {
    background-color: var(--phone-country-bg-hover, #c36) !important;
    color: var(--phone-country-color-hover, #ffffff) !important;
    border-color: var(--phone-country-border-color-hover, #c36) !important;
    transform: var(--phone-country-transform-hover, none) !important;
}

/* Fallback pour les anciens styles si les variables CSS ne sont pas définies */
.iti__selected-country:not([style*="--phone-country"]) {
    background-color: transparent !important;
    border: 1px solid #c36 !important;
    border-radius: 3px !important;
    color: #c36 !important;
    font-size: 1rem !important;
    font-weight: 400 !important;
    padding: 0.5rem 1rem !important;
    text-align: center !important;
    transition: all 0.3s ease !important;
}

.iti__selected-country:not([style*="--phone-country"]):hover {
    background-color: #c36 !important;
    color: #ffffff !important;
}

.iti__selected-flag {
    padding: 0 12px 0 8px;
    border-radius: 8px 0 0 8px;
    background-color: #f5f5f5;
}

.iti__selected-flag:hover {
    background-color: #f0f0f0;
}

.iti__arrow {
    transition: transform 0.3s ease;
}

.iti__arrow--up {
    transform: rotate(180deg);
}

.intl-tel-error {
    color: #dc2626;
    font-size: 13px;
    margin-top: 6px;
    display: none;
}

.intl-tel-error.visible {
    display: block;
    padding: 5px 12px;
    background-color: rgba(220, 38, 38, 0.08);
    border-radius: 6px;
    animation: error-appear 0.3s ease-out forwards;
}

/* Animations */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes success-icon-appear {
    from {
        transform: scale(0.5);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes success-text-appear {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes file-appear {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes error-appear {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Media Queries pour le responsive */
@media (max-width: 768px) {
    .job-listing-item {
        flex-direction: column;
        padding: 24px;
    }
    
    .job-info {
        padding-right: 0;
        margin-bottom: 20px;
    }
    
    .apply-button {
        margin-top: 20px;
        width: 100%;
    }
    
    .job-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .modal-title {
        font-size: 22px;
        padding-right: 40px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 24px;
    }
    
    .job-modal-content {
        padding: 24px;
        width: 95%;
        margin: 0 10px;
    }
    
    .job-skills-container {
        gap: 8px;
    }
    
    .job-skill-tag {
        padding: 5px 12px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .job-modal-content {
        padding: 20px 16px;
        width: 95%;
    }
    
    .job-listings-empty {
        padding: 25px 16px;
    }
    
    .application-success {
        padding: 30px 16px;
    }
    
    .success-icon {
        width: 80px;
        height: 80px;
    }
    
    .success-title {
        font-size: 22px;
    }
    
    .file-upload-zone {
        padding: 25px 15px;
    }
    
    .file-upload-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 10px;
    }
    
    .iti__flag-container {
        right: auto;
        left: 0;
    }
    
    .job-skills-container {
        justify-content: center;
    }
}