.register-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    background:
        radial-gradient(circle at right top, rgba(208, 130, 58, 0.18), transparent 30%),
        linear-gradient(180deg, #f8f3ea 0%, #e8edf5 100%);
}

.register-panel {
    width: min(100%, 520px);
    border: 0;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 34px 70px rgba(38, 53, 74, 0.16);
}

.register-banner {
    padding: 28px 28px 22px;
    color: #fff;
    background: linear-gradient(135deg, #8b4a24 0%, #cf7a38 100%);
}

.register-banner h1 {
    margin: 0;
    font-size: 32px;
    line-height: 1.2;
    font-weight: 700;
}

.register-form {
    padding: 28px;
}

.register-form .layui-form-label {
    width: auto;
    padding: 0 0 10px;
    float: none;
    line-height: 1.6;
    color: #4b3729;
    font-weight: 600;
    text-align: left;
}

.register-form .layui-input-block {
    margin-left: 0;
}

.register-form .layui-input {
    height: 52px;
    padding: 0 16px;
    border-radius: 16px;
    border-color: #dfd4c7;
    background: #fffdfa;
    font-size: 15px;
}

.register-form .layui-input:focus {
    border-color: #bd7337;
}

.register-captcha-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 132px;
    gap: 12px;
    align-items: center;
}

.register-captcha-image {
    width: 132px;
    height: 52px;
    border-radius: 16px;
    border: 1px solid #dfd4c7;
    cursor: pointer;
    background: #fff;
    object-fit: cover;
}

.register-submit-row {
    margin-bottom: 0;
}

.register-submit {
    width: 100%;
    height: 50px;
    border-radius: 16px;
    background: linear-gradient(135deg, #8b4a24 0%, #cf7a38 100%);
    box-shadow: 0 16px 28px rgba(143, 88, 39, 0.18);
    font-size: 16px;
    font-weight: 600;
}

.register-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
    font-size: 14px;
}

.register-actions a {
    color: #9a5a2f;
}

@media (max-width: 640px) {
    .register-page {
        align-items: stretch;
        padding: 12px;
    }

    .register-panel {
        width: 100%;
        border-radius: 20px;
    }

    .register-banner,
    .register-form {
        padding: 22px 20px;
    }

    .register-banner h1 {
        font-size: 28px;
    }

    .register-captcha-row {
        grid-template-columns: 1fr;
    }

    .register-captcha-image {
        width: 100%;
    }
}
