.job-apply-form {
    width: 50%;
    margin: 50px auto;
    background-color: #1a1a1a;
    padding: 30px;
    border-radius: 0;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
    color: #fff;
}

.job-apply-form {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 2s ease, opacity 1s ease;
}

.job-apply-form.show {
    max-height: 1000px;
    /* large enough to contain form */
    opacity: 1;
    margin-top: 20px;
}

.apply-now-button {
    background: transparent;
    color: white;
    border-color: white;

}

.apply-now-button {
    position: relative;
    overflow: hidden;
    padding: 15px 30px;
    background-color: transparent;
    color: white;
    border-color: white;
    cursor: pointer;
}

.apply-now-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.7s ease;
    z-index: 0;
}

.apply-now-button:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

.application-form label {
    display: block;
    margin-top: 15px;
    font-weight: 500;
}

.input-data {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 0;
    background-color: #2a2a2a;
    color: #fff;
}

textarea.input-data {
    resize: vertical;
    height: 100px;
}

.g-recaptcha {
    margin-top: 20px;
}

button.btn.new {
    display: block;
    width: 100%;
    padding: 12px;
    margin-top: 20px;
    background-color: #00aaff;
    color: white;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button.btn.new:hover {
    background-color: #0088cc;
}

.job-details-container {
    width: 100%;
    margin: 50px auto;
    padding: 30px;
    font-family: "Segoe UI", sans-serif;
    color: #fff;
}

.job-details-container h1,
.job-details-container h3 {
    text-align: center;
    color: #fff;
    margin-bottom: 20px;
}

.job-details-container p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.job-details-container p strong {
    color: #fff;
    width: 160px;
    display: inline-block;
}

.job-details-container hr {
    margin: 30px 0;
    border: 0;
    border-top: 1px solid #ccc;
}

.job-details {
    display: flex;
    padding: 1rem;
    background-color: #111;
    color: #fff;
    border-radius: 8px;
}

.job-details div {
    width: 50%;
}

.job-details div p {
    margin: 0;
    padding: 5px;
}

.messages {
    width: 100%;
    max-width: 80%;
    margin: 0 auto;
    padding: 15px;
    font-family: 'Segoe UI', sans-serif;
}


.close-btn {
    position: absolute;
    top: 0.75rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.25rem;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
}

.alert {
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 10px;
    font-size: 16px;
    color: #fff;
    border: 1px solid transparent;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

/* Success message */
.alert-success {
    background-color: #1e3d1e;
    border-color: #2ecc71;
    color: #adffb0;
}

/* Error message */
.alert-error,
.alert-danger {
    background-color: #3d1e1e;
    border-color: #e74c3c;
    color: #ffadad;
}

/* Info or default message */
.alert-info {
    background-color: #1e2b3d;
    border-color: #3498db;
    color: #aedcff;
}

/* Warning message */
.alert-warning {
    background-color: #3d321e;
    border-color: #f1c40f;
    color: #fff7c2;
}

@media (max-width: 768px) {
    .job-details {
        flex-direction: column;
        width: 100%;
    }

    .job-details div {
        width: 100%;
    }

    .job-details div p {
        width: 100%;
        font-size: 12px;
    }

    .job-apply-form {
        width: 100%;
        padding: 20px;
    }

}

@media (max-width: 360px) {
    .job-details {
        flex-direction: column;
        width: 100%;
    }

    .job-details div {
        width: 100%;
    }

    .job-apply-form {
        width: 100%;
        padding: 20px;
    }

}