/* ── Personal/Customer - User Registration – Front-end Form Styles ── */



/* Wrap */
.cur-wrap {
    width: 100%;
    padding: 0;
}

.cur-form {
    margin: 0;
}

/* ── Notice banners ── */
.cur-notice {
    padding: 14px 18px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 14px;
}
.cur-notice--success {
    background: #f3fbe8;
    border: 1px solid #d5e6b5;
    color: #3d4a34;
}
.cur-notice--error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}
.cur-notice ul {
    margin: 0;
    padding-left: 18px;
}
.cur-notice p { margin: 0; }

/* ── Grid row ── */
.cur-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 30px;
    margin-bottom: 0;
}

.cur-row.cur-submit-btn{
    display: block;
}

.cur-row--full {
    grid-template-columns: 1fr;
}

/* ── Field ── */
.cur-field {
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Hide labels visually — placeholders act as labels in this design */
.cur-field label:not(.cur-newsletter-label) {
    display: none;
}

/* Underline-only inputs */
.cur-field input[type="text"],
.cur-field input[type="email"],
.cur-field input[type="password"] {
    border: none;
    border-bottom: 1px solid #333;
    border-radius: 0;
    padding: 12px 0 10px;
    font-size: 16px;
    width: 100%;
    background: transparent;
    color: #333;
    outline: none;
    transition: border-color 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}

.cur-field input[type="text"]::placeholder,
.cur-field input[type="email"]::placeholder,
.cur-field input[type="password"]::placeholder {
    color: #9a9a9a;
    font-size: 16px;
}

.cur-field input[type="text"]:focus,
.cur-field input[type="email"]:focus,
.cur-field input[type="password"]:focus {
    border-bottom-color: #12305b;
    outline: none;
    box-shadow: none;
}

.cur-field input[type="text"].cur-invalid,
.cur-field input[type="email"].cur-invalid,
.cur-field input[type="password"].cur-invalid {
    border-bottom-color: #c00;
}

/* Browser autofill — keep underline style */
.cur-field input:-webkit-autofill,
.cur-field input:-webkit-autofill:hover,
.cur-field input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #e8f0fe inset;
    box-shadow: 0 0 0 1000px #e8f0fe inset;
    -webkit-text-fill-color: #222;
    border-bottom: 1px solid #c8c8c8;
    transition: background-color 5000s ease-in-out 0s;
}

/* Row spacing — add gap between rows via padding on fields */
.cur-row .cur-field {
    padding-bottom: 20px;
}

/* Password hint */
.cur-hint {
    font-size: 11px;
    color: #aaa;
    margin-top: 4px;
}

/* ── Newsletter checkbox row ── */
.cur-row--full .cur-field--checkbox {
    padding-bottom: 6px;
}

.cur-newsletter-label {
    font-size: 16px;
    color: #7a7a7a;
    margin: 0 0 6px;
    line-height: 1.5;
}

.cur-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    line-height: 1.4;
}

.cur-checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 3px 0 0;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: #002a63;
}

/* ── Legal text ── */
.cur-legal {
    margin: 4px 0 20px;
}

.cur-row .cur-legal a {
    color: #002a63;
    text-decoration: underline;
}

.cur-legal a:hover {
    color: #12305b;
}

/* ── Field validation, shown under the matching input or button ── */
.cur-field-error {
    color: #c00;
    font-size: 13px;
    line-height: 1.4;
    margin: 4px 0 0;
}
.cur-field-error[hidden] {
    display: none;
}

/* ── Submit button ── */
.cur-row--full:last-child {
    margin-top: 10px;
}

.cur-btn {
    background: #002a63;
    color: #fff;
    border: none;
    padding: 13px 36px;
    font-size: 16px;
    font-weight: 700;
    font-family: inherit;
    border-radius: 3px;
    cursor: pointer;
    display: inline-block;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: background 0.2s ease;
    line-height: 1;
    /* align-self: flex-start; */
    /* width: auto; */
}

.cur-btn:hover {
    background: #0f2648;
}

.cur-btn:active {
    background: #0c1f3a;
    transform: translateY(1px);
}

.cur-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* ── Spinner ── */
.cur-spinner {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: cur-spin 0.7s linear infinite;
    flex-shrink: 0;
}

@keyframes cur-spin {
    to { transform: rotate(360deg); }
}

/* ── Required asterisk ── */
.cur-required { color: #c00; }

/* ── Responsive ── */
@media (max-width: 767px) {
    .cur-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .cur-row .cur-field {
        padding-bottom: 16px;
    }

    .cur-wrap {
        padding: 0 4px;
    }

    .cur-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
    }
}

@media (max-width: 480px) {
    .cur-field input[type="text"],
    .cur-field input[type="email"],
    .cur-field input[type="password"] {
        font-size: 16px; /* Prevent iOS zoom on focus */
    }

   
}

.cur-recaptcha {
    margin: 18px 0 8px;
}

.cur-field.cur-recaptcha label {
    display: block;
    margin-bottom: 8px;
}