.join-us-form {
    padding: 60px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.form-title {
    font-size: 32px;
    font-weight: 600;
    color: #1E293B;
    text-align: center;
    margin-bottom: 40px;
}

.partner-form {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-start;
}

.form-row {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}

.partner-form > .form-row:not(:last-child):not(.form-row-verify) {
    flex: 1 1 0;
    min-width: 0;
}

.partner-form > .form-row-verify {
    align-items: flex-start;
    display: flex;
    gap: 0;
    flex-wrap: nowrap;
    flex-shrink: 0;
    flex: 1 1 0;
    min-width: 0;
    position: relative;
}

.form-row-verify .form-input {
    position: relative;
}

.form-row-verify .form-input::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: #D5D8D6;
}

.form-input {
    width: 100%;
    height: 72px;
    padding: 12px 16px;
    border: 1px solid #D5D8D6;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-row-verify .form-input {
    flex: 1 1 0;
    min-width: 0;
    border-radius: 8px 0 0 8px;
    border-right: none;
}

.form-input:focus {
    outline: none;
    border-color: #6246E8;
}

.form-input.error {
    border-color: #f44336;
}

.btn-verify {
    height: 72px;
    padding: 0 24px;
    background: #ffffff;
    border: 1px solid #6246E8;
    color: #6246E8;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    font-size: 14px;
    white-space: nowrap;
    transition: all 0.3s ease;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-left: none;
}

.btn-verify:hover {
    background: #6246E8;
    color: #ffffff;
}

.btn-verify:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.partner-form > .form-row:last-child {
    flex-basis: 100%;
    width: 100%;
    justify-content: center;
    margin-top: 24px;
    order: 999;
}

.btn-submit {
    padding: 14px 32px;
    background: #6246E8;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    position: relative;
    padding-right: 48px;
}

.btn-submit::after {
    content: "↑";
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    line-height: 1;
}

.btn-submit:hover {
    background: #6246E8;
    opacity: 0.9;
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .partner-form {
        flex-direction: column;
    }
    .form-input {
        width: 100%;
    }
    .form-row {
        width: 100%;
    }
    .form-row-verify {
        width: 100%;
    }
    .form-row-verify .form-input {
        flex: 1;
        width: auto;
    }
    .btn-verify {
        height: 72px;
    }
}
