body {
    background-color: #f4f1e9;
}

.page-shell {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 40px;
    padding-bottom: 60px;
    position: relative;
}

.register-rabbit {
    position: absolute;
    left: 0;
    bottom: 45px;
    height: clamp(300px, calc(100vh - 100px), 550px);
    width: clamp(200px, 28vw, 520px);
    object-fit: contain;
    object-position: bottom left;
    transform: translateX(30px) scale(1.2);
    transform-origin: bottom left;
    pointer-events: none;
    user-select: none;
}

@media (max-width: 1400px) {
    .register-rabbit {
        width: clamp(180px, 24vw, 420px);
        height: clamp(280px, calc(100vh - 100px), 550px);
    }
}

@media (max-width: 1100px) {
    .register-rabbit {
        width: clamp(150px, 20vw, 320px);
        height: clamp(250px, calc(100vh - 100px), 450px);
    }
}

@media (max-width: 768px) {
    .register-rabbit {
        display: none;
    }
}

.register-wrapper {
    display: flex;
    flex-direction: column;
}

.register-title {
    font-size: 35px;
    letter-spacing: 2px;
    color: #333;
    border-left: 5px solid #c03a45;
    padding-left: 15px;
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom: 10px;
    margin-left: 115px;
    line-height: 1;
    text-transform: uppercase;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 700;
    margin-top: 20px;
}

.register-form {
    width: 100%;
    max-width: 650px;
    margin-top: 20px;
    margin-left: 0;
}

.form-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 4px;
    margin-left: 0;
}

.form-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #333;
    width: 100px;
    text-align: right;
    flex-shrink: 0;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.form-input-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.form-input {
    width: 330px;
    height: 33px;
    padding: 0 36px 0 14px;
    background: #fff;
    border: 1px solid #bbb;
    border-radius: 0;
    font-size: 14px;
    color: #2a2a2a;
    outline: none;
    transition: all 0.3s ease;
}

.form-input:focus {
    border-color: #999;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.15);
}

.form-input::placeholder {
    color: #b0a89e;
    font-size: 14px;
}

.form-valid-icon {
    position: absolute;
    right: 10px;
    font-size: 14px;
    pointer-events: none;
    transition: color 0.2s ease;
}

.form-valid-icon.invalid {
    color: #c03a45;
}

.form-valid-icon.valid {
    color: #3aab5a;
}

.form-eye-btn {
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
    font-size: 15px;
    line-height: 1;
    transition: color 0.2s ease;
    z-index: 2;
}

.form-eye-btn:hover {
    color: #555;
}

.form-hint {
    font-size: 11px;
    color: #333;
    margin-left: 115px;
    margin-bottom: 12px;
    line-height: 1.5;
    white-space: pre-line;
}

.form-row-check {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: 60px;
    margin-bottom: 4px;
}

.form-newsletter {
    font-style: italic;
    font-size: 13px;
    color: #666;
    margin-left: 0px;
    margin-bottom: 6px;
    max-width: 700px;
    line-height: 1.5;
    white-space: nowrap;
    border-top: 1px solid #ccc;
    padding-top: 14px;
    margin-top: 25px;
    width: calc(100% + 50px);
}

.form-check-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #554d4d;
    width: 100px;
    text-align: right;
    flex-shrink: 0;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.form-check-group {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #333;
}

.form-check-group input[type="checkbox"] {
    width: 14px;
    height: 14px;
    cursor: pointer;
}

.form-submit-row {
    display: flex;
    justify-content: flex-end;
    margin-left: 60px;
    margin-top: 15px;
    padding-right: 0;
    width: 385px;
}

.form-submit-btn {
    width: 150px;
    height: 50px;
    background: #aaa;
    color: #fff;
    border: none;
    border-radius: 0;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    transition: background 0.3s ease;
}

.form-submit-btn:hover {
    background: #e6552e;
}

.form-submit-btn:not(:disabled):hover {
    background: #e6552e;
}

.form-submit-btn:disabled {
    background: #aaa;
    cursor: not-allowed;
}

.form-login-row {
    display: flex;
    justify-content: flex-end;
    margin-left: 60px;
    margin-top: 10px;
    width: 385px;
    font-size: 12px;
    color: #333;
}

.form-login-row a {
    color: #c03a45;
    text-decoration: none;
    margin-left: 5px;
}

.form-login-row a:hover {
    text-decoration: underline;
}

.form-availability {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: -4px;
    white-space: nowrap;
    width: 70px;
    flex-shrink: 0;
    display: inline-block;
}

.form-availability.available {
    color: #3aab5a;
}

.form-availability.taken {
    color: #c03a45;
}
