.form-row {
    margin: 8px 0;
    display: flex;
    gap: 10px;  /* Space between fields */
}

.form-group {
    flex: 1;  /* Makes each field take equal width */
}

.x-input {
    padding: 10px 14px !important;
    width: 100%;
    border: #1fe0ba 3px solid !important;
}

.x-textarea {
    height: 220px;
    resize: none;
}

#x-file,
#x-candidate-file,
#x-spontaneous-file {
    text-align: center;
    display: none;
}

.form-upload {
    color: #1fe0ba;
    cursor: pointer;
    padding: 18px;
    display: flex;
    text-align: center !important;
    justify-content: center;
    align-items: center;
    justify-items: center;
    border: #1fe0ba 3px solid;
    background: rgba(31, 224, 186, 0.15);
}

.x-form-upload p {
    margin: 15px 0;
    font-size: 22px !important;
}

#x-upload-message p{
    width: 100%;
    padding: 18px 22px;
    color: #e74c3c;
    height: auto;
    text-align: center;
    font-weight: bold;
    border: 3px solid #e74c3c;
}

#x-upload-message {
    display: none;
}

.x-button {
    position: relative;
    left: 5px;
    width: 250px;
    color: #FFFFFF !important;
    border-radius: 0px;
    letter-spacing: 2px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    background-color: #41E2BA;
    border: #1fe0ba 3px solid;
    padding: 16px 20px !important;
    float: right;
}

.x-button:hover,
.x-button:focus {
    cursor: pointer;
    background: #000;
    border: #000 3px solid;
}

#x-upload-files-list {
    margin-top: 10px;
    margin-bottom: 10px;
}

#x-candx-success,
#x-spontaneous-form-success,
#x-candidate-error,
#x-spontaneous-form-error {
    margin-top: 20px;
    color: #1fe0ba;
    font-size: 5rem;
    text-align: center;
    display: none;
}

#x-candx-success p,
#x-spontaneous-form-success p,
#x-candidate-error p,
#x-spontaneous-form-error p {
    margin-top: 50px !important;
    font-size: 1.5rem;
    line-height: 45px;
}

.x-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
}

.x-loading-spinner {
    position: absolute;
    left: 47%;
    top: 45%;
    width: 50px;
    height: 50px;
    border: 5px solid #fff;
    border-top: 5px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}