.greenhouse-job-board { max-width: 900px; margin: 0 auto; padding: 20px; }
.greenhouse-job-board h2 { text-align: center; margin-bottom: 30px; font-size: 2.5rem;     background: -webkit-linear-gradient(180deg, #f6901e, #fcb415); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.greenhouse-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; margin-bottom: 30px; padding: 20px 0; }
.filter-group { flex-grow: 1; min-width: 200px; }
.filter-group label { display: block; margin-bottom: 8px; font-weight: 600; color: #ffffff; }
.select-wrapper { position: relative; }
.select-wrapper select { background-color: transparent;
    background-image: linear-gradient(rgba(7, 7, 7, 0.39), rgba(0, 0, 0, 0.15));
    border-radius: 42em;
    border-width: 1px;
    border-color: rgba(250, 250, 250, 0.1);
    border-style: solid;
    width: 100%;
    height: 3rem;
    padding: 0.75rem 1.25rem;
    outline: none;
    transition: border-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    color: #ffffff;
    padding-right: 90px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none; }
.select-wrapper select:focus { outline: none; box-shadow: 0 0 0 3px rgba(0, 115, 230, 0.2); }
.select-wrapper i { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); color: #888; pointer-events: none; }
.job-list-container { display: grid; gap: 20px; }
.job-item { display: flex; justify-content: space-between; align-items: center; padding: 20px; border-radius: 25px; box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.05); border: 2px solid rgba(250, 250, 250, 0.2); transition: transform 0.2s ease, box-shadow 0.2s ease; background-image: radial-gradient(rgba(255, 255, 255, 0.07), rgba(0, 0, 0, 0)); background-repeat: no-repeat; backdrop-filter: blur(5px); }
.job-item:hover { transform: translateY(-3px); box-shadow: 4px 4px 10px rgba(0,0,0,0.1); }
.job-info h3 { margin: 0; font-size: 1.5rem; color: #ffffff; }
.job-meta { margin-top: 5px; font-size: 0.9rem; color: #fbaf15; }
.job-meta span { margin-right: 15px; }
.job-meta i { margin-right: 5px; color: #fbaf15; }
.job-actions .apply-button { background-image: linear-gradient(90deg, #fcb315, #f6911f); color: #000000; border-radius: 30px; border-color: rgba(0, 0, 0, 0); font-size: 14px; padding: 10px 20px; transition: all 0.3s ease; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); }
.job-actions .apply-button:hover { background-image: linear-gradient(-90deg, #fcb315, #f6911f); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); }
.error-message, .success-message { text-align: center; padding: 20px; border-radius: 8px; margin-bottom: 20px; }
.error-message { background-color: #fff2f2; color: #d63638; border: 1px solid #d63638; }
.success-message { background-color: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.loading-indicator { text-align: center; padding: 20px; font-size: 1.2rem; color: #555; display: flex; align-items: center; justify-content: center; gap: 10px; }
.spinner { border: 4px solid rgba(0,0,0,0.1); width: 36px; height: 36px; border-radius: 50%; border-left-color: #fcb315; animation: spin 1s ease infinite; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.job-header { text-align: center; margin-bottom: 30px; }
.job-header h1 { font-size: 2.5rem; text-align: center; margin-bottom: 5px; }
.job-header .job-meta { font-size: 1rem; color: #ffffff; }
.job-header .job-meta span { margin: 0 10px; }
.back-button { display: inline-block; margin-bottom: 20px; color: #ffffff; text-decoration: none; font-weight: 600; transition: color 0.2s ease; }
.back-button:hover { color: #fcb415; }
.job-content h2 { margin-top: 30px; border-bottom: 2px solid #eee; padding-bottom: 10px; font-size: 2rem; color: #ffffff; }
.job-content h3 { color: #ffffff; }
.job-content p { line-height: 1.6; color: #ffffff; font-family: 'Roboto'; font-weight: 400;}
.application-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 25px;
    padding: 5%;
    width: 100%;
    border: 2px solid rgba(250, 250, 250, 0.2);
    background-image: radial-gradient(rgba(255, 255, 255, 0.07), rgba(0, 0, 0, 0));
    background-repeat: no-repeat;
    backdrop-filter: blur(5px);
    margin-top: 40px; 
}
.application-form form { width: 80%; }
.application-form h2 { text-align: center; color: #fcb415; margin-bottom: 25px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 8px; color: #ffffff; }
.form-group input[type="text"], .form-group input[type="email"], .form-group input[type="tel"], .form-group textarea, .form-group select { width: 100%; padding: 12px; border: 1px solid rgba(255, 255, 255, 0.2); background-color: rgba(0, 0, 0, 0.1); border-radius: 8px; font-size: 1rem; box-sizing: border-box; color: #ffffff; }
.form-group input[type="file"] { padding: 12px 0; color: #ffffff; }
.form-group textarea { resize: vertical; }
.form-group .required { color: red; margin-left: 4px; }
.submit-button { width: 100%; padding: 15px; border: none; border-radius: 30px; background-image: linear-gradient(90deg, #fcb315, #f6911f); color: #000000; font-size: 1.1rem; font-weight: 400; cursor: pointer; transition: background-color 0.3s ease; }
.submit-button:hover { background-image: linear-gradient(-90deg, #fcb315, #f6911f); }
.description { font-size: 0.85em; color: #ffffff; margin-top: 5px; }
.form-messages { margin-bottom: 20px; }
.form-messages p { padding: 15px; border-radius: 8px; font-size: 1rem; font-weight: 500; text-align: center; }
.form-messages.success-message p { background-color: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.form-messages.error-message p { background-color: #fff2f2; color: #d63638; border: 1px solid #d63638; }
@media (max-width: 922px) {
	.application-form form { width: 100%; }
}
@media (max-width: 768px) {
    .greenhouse-filters { flex-direction: column; }
    .job-item { flex-direction: column; align-items: flex-start; gap: 10px; }
    .job-actions { width: 100%; text-align: right; }
    .job-meta { margin-top: 10px; }
}

.job-content ul li {
    color: #ffffff;
    font-family: 'Rubik';
}
::marker {
    color: #fcb018;
}
/* .job-content p:last-child {
  display: none;
} */
.filter-search .input-wrapper {
    position: relative;
}
.filter-search .input-wrapper input {
    background-color: transparent;
    background-image: linear-gradient(rgba(7, 7, 7, 0.39), rgba(0, 0, 0, 0.15));
    border-radius: 42em;
    border-top-width: 1px;
    border-right-width: 1px;
    border-bottom-width: 1px;
    border-left-width: 1px;
    border-top-color: rgba(250, 250, 250, 0.1);
    border-right-color: rgba(250, 250, 250, 0.1);
    border-bottom-color: rgba(250, 250, 250, 0.1);
    border-left-color: rgba(250, 250, 250, 0.1);
    border-top-style: solid;
    border-right-style: solid;
    border-bottom-style: solid;
    border-left-style: solid;
    backdrop-filter: blur(5px);
    width: 100%;
    height: 3rem;
    padding: 0.75rem 1.25rem;
    outline: none;
    transition: border-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    color: #ffffff;
    padding-right: 40px;
}
.filter-search .input-wrapper input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 115, 230, 0.2);
}

.filter-search .input-wrapper i {
    right: 5%;
    top: 0;
    bottom: 0;
    position: absolute;
    margin: auto;
    color: #888888;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

/* --- Custom File Input Styling --- */
.file-or-manual-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.file-or-manual-group .custom-file-label {
    display: inline-block;
    padding: 10px 18px;
    background: linear-gradient(90deg, #fcb315, #f6911f);
    color: #000;
    border: none;
    border-radius: 30px;
    font-size: 1em;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.07);
    margin-bottom: 0;
}

.file-or-manual-group .custom-file-label:hover {
    background: linear-gradient(-90deg, #fcb315, #f6911f);
    box-shadow: 0 4px 8px rgba(0,0,0,0.12);
}

.file-or-manual-group .file-selected {
    margin-left: 10px;
    font-size: 0.95em;
    color: #fbaf15;
    font-weight: 500;
    vertical-align: middle;
}

/* Make "Enter manually" look like a text link */
.file-or-manual-group .toggle-manual-entry {
    background: none;
    border: none;
    color: #fcb315;
    font-size: 1em;
    font-weight: 500;
    text-decoration: underline;
    cursor: pointer;
    padding: 0 0 0 8px;
    margin: 0;
    transition: color 0.2s;
}

.file-or-manual-group .toggle-manual-entry:hover {
    color: #f6911f;
    text-decoration: underline;
}

/* Show textarea on its own line and full width */
.file-or-manual-group textarea {
    display: block;
    width: 100%;
    margin-top: 12px;
    margin-left: 0;
    /* match form field style */
    border-radius: 8px;
    background: rgba(0,0,0,0.1);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
    font-size: 1rem;
    padding: 12px;
    box-sizing: border-box;
    resize: vertical;
}

/* Hide textarea by default (inline style is set by JS/PHP) */
.file-or-manual-group textarea[style*="display:none"] {
    display: none !important;
}

/* Remove duplicate file label if present (for safety, JS fix is preferred) */
.file-or-manual-group label.custom-file-label + label.custom-file-label {
    display: none !important;
}

/* Hide file input in all contexts (handled by custom label) */
.form-group input[type="file"],
.file-or-manual-group input[type="file"] {
    display: none;
}
