/* Career Page Styles */

.careerArea {
    padding: 40px 0;
}

.careerContainer {
    max-width: 750px;
    margin: 0 auto;
}

.form {
    background-color: #010326;
    border: 1px solid gray;
    border-radius: 15px;
    color: white;
    width: 100%;
}

.form .form-label {
    font-weight: 400;
    color: #faf6e1;
}

.form .form-control,
.form .form-select {
    width: 100%;
    background-color: #1a1a4a;
    border: 1px solid #4a4a8a;
    color: #ffffff;
}

.form .form-control:focus,
.form .form-select:focus {
    background-color: #1a1a4a;
    border-color: #faf6e1;
    color: #ffffff;
    box-shadow: 0 0 0 0.25rem rgba(250, 246, 225, 0.25);
}

.form .form-control::placeholder {
    color: #a0a0c0;
}

.form .form-select option {
    background-color: #010326;
    color: #ffffff;
}

.form .is-invalid {
    border-color: #dc3545;
}

.form .invalid-feedback {
    color: #ff6b6b;
    display: none;
}

.form .is-invalid + .invalid-feedback {
    display: block;
}

.btnSubmit {
    width: 40%;
    font-weight: 500;
    color: #faf6e1;
    max-width: 150px;
    border: 1px solid #faf6e1;
    background-color: transparent;
    padding: 10px 20px;
    transition: all 0.3s ease;
}

.btnSubmit:hover {
    background-color: white;
    color: black;
    border: 1px solid black;
}

.fileNameWhite {
    color: white;
    display: block;
    margin-top: 5px;
}

.captcha-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 20px;
}

.recaptcha-wrapper {
    transform: scale(0.85);
    transform-origin: left;
}

/* Alert Messages */
.alert-success {
    background-color: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
    border-radius: 5px;
    padding: 15px;
    text-align: center;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
    border-radius: 5px;
    padding: 15px;
    text-align: center;
}

/* Extra Small (xs) - For phones (portrait view) */
@media (max-width: 575px) {
    .form {
        border-radius: 0px;
        padding: 10px;
    }

    .form .form-label {
        font-size: 16px;
    }

    .form .form-control,
    .form .form-select {
        font-size: 14px;
    }

    .btnSubmit {
        width: 30%;
        max-width: none;
        font-size: 14px;
    }

    .captcha-container {
        flex-direction: column;
        gap: 1rem;
    }

    .recaptcha-wrapper {
        transform-origin: center;
        transform: scale(0.7);
    }
}

/* Small (sm) - For small tablets and large phones */
@media (min-width: 576px) and (max-width: 767px) {
    .careerContainer {
        max-width: 95% !important;
    }

    .form {
        padding: 15px;
    }

    .form .form-label {
        font-size: 16px;
    }

    .form .form-control,
    .form .form-select {
        font-size: 16px;
    }

    .btnSubmit {
        width: 60%;
        font-size: 16px;
    }

    .captcha-container {
        flex-direction: row;
        gap: 1rem;
    }

    .recaptcha-wrapper {
        transform-origin: left;
        transform: scale(0.75);
    }
}

/* Medium (md) - For tablets (landscape view) */
@media (min-width: 768px) and (max-width: 991px) {
    .careerContainer {
        max-width: 80%;
    }

    .form .form-label {
        font-size: 18px;
    }

    .form .form-control,
    .form .form-select {
        font-size: 18px;
    }

    .btnSubmit {
        width: 50%;
        font-size: 18px;
    }

    .captcha-container {
        flex-direction: row;
    }

    .recaptcha-wrapper {
        transform-origin: left;
        transform: scale(0.8);
    }
}

/* Large (lg) - For laptops and desktops */
@media (min-width: 992px) and (max-width: 1199px) {
    .careerContainer {
        max-width: 70%;
    }

    .form .form-label {
        font-size: 20px;
    }

    .form .form-control,
    .form .form-select {
        font-size: 20px;
    }

    .btnSubmit {
        width: 40%;
        font-size: 20px;
    }

    .captcha-container {
        flex-direction: row;
    }

    .recaptcha-wrapper {
        transform-origin: left;
    }
}

/* Extra Large (xl) - For large desktops and high-res screens */
@media (min-width: 1200px) {
    .careerContainer {
        max-width: 750px;
    }

    .form .form-label {
        font-size: 22px;
    }

    .form .form-control,
    .form .form-select {
        font-size: 22px;
    }

    .btnSubmit {
        width: 40%;
        font-size: 22px;
    }

    .captcha-container {
        flex-direction: row;
    }

    .recaptcha-wrapper {
        transform-origin: left;
    }
}
