/* Customer Register - Modern Professional UI */
.register-page-wrap {
    position: relative;
}

.register-page-wrap::before,
.register-page-wrap::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
}

.register-page-wrap::before {
    width: 220px;
    height: 220px;
    background: rgba(86, 182, 255, 0.28);
    top: 6%;
    left: 10%;
}

.register-page-wrap::after {
    width: 260px;
    height: 260px;
    background: rgba(55, 92, 255, 0.2);
    bottom: 4%;
    right: 8%;
}

.register-container {
    position: relative;
    z-index: 1;
}

.register-card {
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 22px 60px rgba(8, 27, 61, 0.24);
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.register-brand-panel {
    background:
        linear-gradient(155deg, rgba(14, 56, 141, 0.94) 0%, rgba(27, 93, 189, 0.9) 100%),
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 65%);
    color: #ffffff;
    padding: 42px 34px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.11);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.2px;
    margin-bottom: 18px;
}

.brand-title {
    font-size: 1.9rem;
    font-weight: 800;
    line-height: 1.24;
    margin-bottom: 14px;
    letter-spacing: -0.3px;
}

.brand-subtitle {
    font-size: 0.98rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 28px;
}

.brand-points {
    display: grid;
    gap: 12px;
}

.brand-point {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.95);
}

.brand-point i {
    color: #b8f5d4;
    margin-top: 2px;
}

.register-form-panel {
    padding: 36px 34px;
}

.form-header {
    margin-bottom: 20px;
}

.form-title {
    color: #12316d;
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.form-subtitle {
    color: #5f708f;
    font-size: 0.92rem;
    line-height: 1.55;
}

.modern-alert {
    border-radius: 12px;
    border: 1px solid #f3c5ca;
    background: #fff3f4;
    color: #8f2530;
    font-size: 0.88rem;
}

.register-form-panel .form-group {
    margin-bottom: 1rem;
}

.register-form-panel label {
    color: #2f4574;
    font-size: 0.84rem;
    font-weight: 700;
    margin-bottom: 7px;
}

.input-shell {
    position: relative;
}

.input-icon {
    position: absolute;
    top: 50%;
    left: 13px;
    transform: translateY(-50%);
    color: #6e7f9d;
    font-size: 0.9rem;
    pointer-events: none;
}

.modern-input {
    border: 1.6px solid #d7dfeb;
    border-radius: 12px;
    min-height: 46px;
    padding: 10px 14px 10px 38px;
    color: #15284f;
    font-size: 0.93rem;
    background: #ffffff;
    transition: all 0.2s ease;
}

.modern-input::placeholder {
    color: #97a5bf;
}

.modern-input:focus {
    border-color: #3d76df;
    box-shadow: 0 0 0 4px rgba(61, 118, 223, 0.13);
}

.modern-input.is-invalid {
    border-color: #d95363;
    box-shadow: none;
}

.textarea-shell .input-icon-textarea {
    top: 16px;
    transform: none;
}

.modern-textarea {
    min-height: 98px;
    resize: vertical;
    padding-top: 10px;
    line-height: 1.45;
}

.password-shell .modern-input {
    padding-right: 44px;
}

.password-toggle {
    position: absolute;
    right: 7px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #6e7f9d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.password-toggle:hover {
    background: #eef3fb;
    color: #2e4b80;
}

.invalid-feedback {
    font-size: 0.77rem;
    margin-top: 6px;
}

.form-action {
    margin-top: 10px;
}

.btn-register {
    width: 100%;
    border: none;
    border-radius: 12px;
    min-height: 48px;
    background: linear-gradient(135deg, #2458c6 0%, #1d74d9 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.15px;
    box-shadow: 0 12px 28px rgba(30, 91, 195, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-register:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(30, 91, 195, 0.4);
    filter: brightness(1.02);
}

.register-footer-note {
    font-size: 0.82rem;
    color: #7a879d;
}

@media (max-width: 991px) {
    .register-brand-panel {
        padding: 30px 24px;
    }

    .register-form-panel {
        padding: 26px 22px;
    }

    .brand-title {
        font-size: 1.55rem;
    }

    .form-title {
        font-size: 1.35rem;
    }
}

@media (max-width: 767px) {
    .register-card {
        border-radius: 18px;
    }

    .brand-subtitle {
        margin-bottom: 16px;
    }

    .brand-points {
        gap: 10px;
    }

    .modern-textarea {
        min-height: 92px;
    }
}
