

button { background: #261f1e; border: none; border-radius: 100px; padding: 2% 4%; color: #fff; font-family: "Plus Jakarta Sans", sans-serif; font-size: 17px; margin-top: 20px; transition: 0.5s ease; }
button a { color: #fff; text-decoration: none;}

button:hover { background: #a71223; transition: 0.5s ease; font-weight: 600; font-size: 18px; box-shadow: 0 10px 25px rgba(37, 34, 29, 0.18);}

.form-section {
    width: 80%;
    margin: 0 10% 6%;
}
.form-col { width: 100%;}

#applicationForm {
    background: rgba(255, 255, 255, 0.50);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 28px;
    padding: 35px 72px 35px 35px;
    box-shadow: 0 20px 60px rgba(81, 61, 28, 0.10), 0 2px 8px rgba(81, 61, 28, 0.04);
    backdrop-filter: blur(12px);
    display: grid;
    gap: 80px;
    grid-template-columns: repeat(2, 1fr);
}

.form-group {
    margin-bottom: 14px;
}

input, select, textarea {
    width: 100%;
    height: 58px;
    border: 1px solid #e7dfcf;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.85);
    padding: 0 18px;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 15px;
    color: #261f1e;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

input::placeholder, textarea::placeholder {
    color: #9a9387;
}

select {
    appearance: none;
    cursor: pointer;
    background-image:
        linear-gradient(45deg, transparent 50%, #777064 50%),
        linear-gradient(135deg, #777064 50%, transparent 50%);
    background-position: calc(100% - 21px) 25px, calc(100% - 16px) 25px;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
}
textarea {
    width: 100%;
    min-height: 150px;
    resize: vertical;
    padding: 10px;
}
input:focus, select:focus, textarea:focus {
    border-color: #bca26d;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(188, 162, 109, 0.12);
}

.input-error, textarea-error {
    border-color: #c97979 !important;
    box-shadow: 0 0 0 4px rgba(201, 121, 121, 0.10) !important;
}

.positions {
    margin-top: 28px;
    margin-bottom: 30px;
}

.positions-title {
    display: block;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 17px;
    font-family: "Source Serif 4", serif;
}

.checkbox-row {
    position: relative;
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 14px;
    color: #4c473e;
    margin-bottom: 13px;
    cursor: pointer;
    user-select: none;
    font-family: "Plus Jakarta Sans", sans-serif;
}

.checkbox-row input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkmark {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    border: 1px solid #d7cdbb;
    border-radius: 6px;
    background: #fff;
    transition: all 0.2s ease;
    position: relative;
}

.checkbox-row:hover .checkmark {
    border-color: #bca26d;
}

.checkbox-row input:checked + .checkmark {
    background: #261f1e;
    border-color: #261f1e;
}

.checkbox-row input:checked + .checkmark::after {
    content: "";
    position: absolute;
    width: 5px;
    height: 9px;
    left: 6px;
    top: 3px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.submit-button {
    width: 100%;
    height: 60px;
    border: none;
    border-radius: 60px;
    background: #261f1e;
    color: #ffffff;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    grid-column: 1 / -1;
    margin-top: -60px;
}

.submit-button:hover {
    transform: translateY(-2px);
    background: #eb1e3f;
    box-shadow: 0 10px 25px rgba(37, 34, 29, 0.18);
}

.submit-button:active {
    transform: translateY(0);
}

.submit-button:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

.button-arrow {
    font-size: 20px;
    line-height: 1;
}

.form-message {
    display: none;
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
}

.form-message.success {
    display: block;
    background: #edf7ed;
    color: #3d683d;
}

.form-message.error {
    display: block;
    background: #f9eded;
    color: #8a4747;
}


@media (max-width: 1000px) {
    .form-section {
        margin: 0 10% 10%;
    }

    #applicationForm {
        padding: 30px 64px 30px 30px;
        border-radius: 22px;
        grid-template-columns: 1fr;
        gap: 0px;
    }

    input, select, textarea {
        height: 55px;
        font-size: 14px;
    }

    .submit-button {
        height: 56px;
        margin: 0;
        width: 105%;
    }
    button { padding: 4% 6%; }
    button:hover { background: #a71223; transition: 0.5s ease; font-weight: 600; font-size: 18px; box-shadow: 0 10px 25px rgba(37, 34, 29, 0.18);}
    
}
