/* 
   wwwroot/css/user.css
   Centralized CSS stylesheet for BDPriceFinder User Authorization, Profile, Orders, and Rights Management pages.
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
    --primary-orange: #ff751f;
    --soft-orange: #fff7f0;
    --deep-orange: #e65a00;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --white: #ffffff;
    --border-color: #bebebe;
    --font-main: 'Inter', sans-serif;
    --neumorphic-bg: #ffffff;
    --neumorphic-shadow-light: #ffffff;
    --neumorphic-shadow-dark: #bebebe;
}

/* ==========================================
   1. GLOBAL LAYOUT & CONTAINER CARDS
   ========================================== */
.login-page-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 84px);
    background-color: #ffffff;
    margin: 0;
    font-family: 'Inter', sans-serif;
    padding: 15px;
    box-sizing: border-box;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1500px;
    width: 100%;
}

/* Container card */
.form {
    display: flex;
    justify-content: center;
    align-items: center;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.34, 1.3, 0.64, 1);
    width: 100%;
    max-width: 480px;
    height: auto;
    min-height: 720px;
    position: relative;
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    border-radius: 30px;
    box-shadow: 8px 8px 16px #c5c5c5;
}

/* Wide container card block for multi-column forms like BusinessStakeholderSignup */
.form:has(.row),
.form.form-wide {
    max-width: 850px;
    height: auto;
    min-height: 780px;
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    border-radius: 30px;
    box-shadow: 8px 8px 16px #c5c5c5;
}

/* Narrow form override for BusinessStakeholderSignup to match login width */
.form.form-narrow {
    max-width: 480px !important;
    min-height: 600px !important;
    height: auto !important;
}

/* Compact form for login pages - smaller height and tighter spacing */
.form.form-compact {
    max-width: 420px !important;
    min-height: 480px !important;
    height: auto !important;
}

.form.form-compact .form_front,
.form.form-compact .form_back {
    padding-top: 20px;
    padding-bottom: 20px;
    gap: 6px;
}

.form.form-compact .header-block {
    margin-top: 20px;
    margin-bottom: 10px;
    padding: 15px;
}

.form.form-compact .header-block .form_details {
    font-size: 24px;
}

.form.form-compact .input-group {
    margin-top: 2px;
}

.form.form-compact .btn,
.form.form-compact .btn-stakeholder,
.form.form-compact .google-btn {
    margin-top: 2px;
    padding: 12px 36px;
}

.form.form-compact .switch {
    margin-top: 8px;
    padding-bottom: 10px;
    font-size: 13px;
}

/* Narrow form spacing fixes - reduce gap between button and switch */
.form.form-narrow .form_front {
    gap: 4px !important;
}

.form.form-narrow .btn {
    margin-top: 10px !important;
    margin-bottom: 0 !important;
}

.form.form-narrow .switch {
    margin-top: auto !important;
    padding-bottom: 15px !important;
}

/* Unified error message styling for all UserAuth pages */
.text-danger,
.field-validation-error,
.form .text-danger,
.form-narrow .text-danger,
.form-compact .text-danger {
    font-size: 0.65rem;
    color: #dc2626;
    margin: 2px 0 0 0;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    display: block;
    line-height: 1.2;
    font-weight: 500;
}

/* Unified success message styling for all UserAuth pages */
.text-success,
.form .text-success,
.form-narrow .text-success,
.form-compact .text-success {
    font-size: 0.65rem;
    color: #16a34a;
    margin: 2px 0 0 0;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    display: block;
    line-height: 1.2;
    font-weight: 500;
}

/* Input group error messages positioned precisely under text box */
.input-group .text-danger,
.input-group .field-validation-error {
    margin-top: 2px;
    padding-left: 24px;
}

/* Form-wide validation summary styling */
.form .text-danger:empty,
.form-narrow .text-danger:empty,
.form-compact .text-danger:empty {
    display: none;
}

/* Ensure alert-lux messages stay within compact form */
.form.form-compact .alert-lux {
    width: 85%;
    max-width: 380px;
    margin: 3px auto;
    box-sizing: border-box;
    font-size: 0.65rem;
    padding: 4px 8px;
}

/* Compact form alert-lux-error specific styling */
.form.form-compact .alert-lux-error {
    font-size: 0.65rem;
    padding: 4px 8px;
    margin: 3px auto;
}

.form .form_front::-webkit-scrollbar {
    width: 6px;
}

.form .form_front::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

/* Flipping mechanic triggered via hidden checkbox */
.container #signup_toggle {
    display: none;
}

.container #signup_toggle:checked+.form {
    transform: rotateY(-180deg);
}

/* Front & Back Global Card Styles */
.form .form_front,
.form .form_back {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    box-sizing: border-box;
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    border-radius: 30px;
    box-shadow: 8px 8px 16px #c5c5c5;
    overflow: hidden;
    padding-bottom: 24px;
    padding-left: 20px;
    padding-right: 20px;
}

.form .form_back {
    transform: rotateY(-180deg);
    gap: 8px;
}

/* Top Header Block */
.header-block {
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    border-radius: 20px;
    box-shadow: 4px 4px 8px #c5c5c5;
    width: 85%;
    max-width: 380px;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 15px;
    margin-left: auto;
    margin-right: auto;
    padding: 20px;
}

/* Header block when positioned at top level (outside form) */
.login-page-wrapper > .header-block {
    position: relative;
    margin-top: 20px;
    margin-bottom: 20px;
    z-index: 10;
}

/* Adjust container margin when header is at top level */
.login-page-wrapper > .header-block + .container {
    margin-top: 0;
}

/* Adjust form margin when header is at top level */
.login-page-wrapper > .header-block + .container .form {
    margin-top: 0;
}

/* Header text */
.form_details {
    margin: 0;
    color: #ff6600;
    font-family: 'Inter', sans-serif;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: normal;
}

.subtitle {
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
    text-align: center;
}

/* Form area for two-column layout */
.form-area {
    width: 85%;
    max-width: 700px;
    padding: 0;
}

/* Override form-area width for narrow forms */
.form.form-narrow .form-area {
    max-width: 380px;
}

/* Force single column layout in narrow forms */
.form.form-narrow .row {
    flex-direction: column;
    gap: 4px;
}

/* Keep stakeholder selector in single row for narrow forms */
.form.form-narrow .stakeholder-selector {
    flex-direction: row;
    gap: 0;
}

/* Adjust stakeholder option layout for narrow forms */
.form.form-narrow .stakeholder-option {
    flex-direction: row;
    gap: 6px;
    padding: 8px 5px;
    min-height: 45px;
}

.form.form-narrow .stakeholder-label {
    font-size: 11px;
}

.form.form-narrow .ios-radio-button {
    width: 18px;
    height: 18px;
}

.form.form-narrow .radio-inner {
    width: 9px;
    height: 9px;
}

.row {
    display: flex;
    gap: 20px;
    margin-bottom: 0;
}

.col-md-6 {
    flex: 1;
    min-width: 0;
}

/* Footer toggle typography */
.form .switch {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #555;
    margin-top: auto;
    padding-bottom: 15px;
    text-align: center;
    line-height: 1.6;
    letter-spacing: normal;
    text-transform: none;
}

.form .switch .signup_tog {
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
    color: #ff6600;
}

.auth-footer {
    margin-top: auto;
    padding-bottom: 15px;
    font-size: 14px;
    color: #555;
    text-align: center;
}

.auth-footer a {
    color: #ff6600;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
}

/* ==========================================
   2. FORM INPUTS & FLOATING LABELS
   ========================================== */
.input-group {
    position: relative;
    width: 85%;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 4px;
}

.row .input-group,
.form-area .input-group {
    width: 100%;
    max-width: 100%;
}

/* Multi-step login step wrappers â€” constrain to same width as inputs/buttons */
.auth-step {
    width: 85%;
    max-width: 380px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin-left: auto;
    margin-right: auto;
}

/* Inside .auth-step, inputs and buttons should fill the full step width */
.auth-step .input-group {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.auth-step .btn,
.auth-step button.btn {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.input {
    width: 100%;
    min-height: 56px;
    color: #192841;
    outline: none;
    padding: 12px 20px !important;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 1.5px;
    text-transform: none;
    background: linear-gradient(145deg, #ffffff, #e8e8e8);
    border: 3px solid #d0d0d0;
    border-radius: 50px !important;
    box-shadow: 
        0 8px 16px rgba(0, 0, 0, 0.15),
        0 4px 8px rgba(0, 0, 0, 0.1),
        inset 0 4px 8px rgba(255, 255, 255, 0.9),
        inset 0 -4px 8px rgba(0, 0, 0, 0.08),
        inset 2px 2px 4px rgba(255, 255, 255, 0.5),
        inset -2px -2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
}



.input-group label {
    display: none;
}

.input:focus {
    border-color: #ff6b35;
    box-shadow: 
        0 12px 24px rgba(255, 107, 53, 0.3),
        0 6px 12px rgba(255, 107, 53, 0.2),
        inset 0 4px 8px rgba(255, 255, 255, 0.95),
        inset 0 -4px 8px rgba(0, 0, 0, 0.1),
        inset 2px 2px 4px rgba(255, 255, 255, 0.6),
        inset -2px -2px 4px rgba(0, 0, 0, 0.06);
    outline: none;
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    transform: translateY(-2px);
}

/* Plate / Standard inputs */
.sg-field {
    margin-bottom: 24px;
}

.sg-label {
    display: block;
    font-size: 18px !important;
    font-weight: 900 !important;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    text-align: center;
}

.sg-input {
    width: 100%;
    padding: 12px 20px !important;
    background: linear-gradient(145deg, #ffffff, #e8e8e8);
    border: 3px solid #d0d0d0;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 300;
    color: #192841;
    outline: none;
    box-sizing: border-box;
    transition: all 0.3s ease;
    box-shadow: 
        0 8px 16px rgba(0, 0, 0, 0.15),
        0 4px 8px rgba(0, 0, 0, 0.1),
        inset 0 4px 8px rgba(255, 255, 255, 0.9),
        inset 0 -4px 8px rgba(0, 0, 0, 0.08),
        inset 2px 2px 4px rgba(255, 255, 255, 0.5),
        inset -2px -2px 4px rgba(0, 0, 0, 0.05);
    position: relative;
}



.sg-input:focus {
    border-color: #ff6b35;
    box-shadow: 
        0 12px 24px rgba(255, 107, 53, 0.3),
        0 6px 12px rgba(255, 107, 53, 0.2),
        inset 0 4px 8px rgba(255, 255, 255, 0.95),
        inset 0 -4px 8px rgba(0, 0, 0, 0.1),
        inset 2px 2px 4px rgba(255, 255, 255, 0.6),
        inset -2px -2px 4px rgba(0, 0, 0, 0.06);
    outline: none;
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    transform: translateY(-2px);
}

/* Profile inputs */
.pf-field {
    margin-bottom: 30px;
}

.pf-label {
    display: block;
    font-size: 18px !important;
    font-weight: 900 !important;
    color: var(--text-main);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Inter', sans-serif;
}

.pf-input-wrap {
    position: relative;
}

.pf-icon {
    position: absolute;
    left: 25px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.2rem;
    transition: color 0.3s;
}

.pf-input {
    width: 100%;
    min-height: 66px;
    padding: 12px 20px 12px 65px;
    background: linear-gradient(145deg, #ffffff, #e8e8e8);
    border: 3px solid #d0d0d0;
    border-radius: 50px !important;
    font-size: 18px !important;
    font-weight: 300 !important;
    color: var(--text-main);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    letter-spacing: 2.5px;
    text-transform: none;
    transition: all 0.3s ease;
    outline: none;
    box-shadow: 
        0 8px 16px rgba(0, 0, 0, 0.15),
        0 4px 8px rgba(0, 0, 0, 0.1),
        inset 0 4px 8px rgba(255, 255, 255, 0.9),
        inset 0 -4px 8px rgba(0, 0, 0, 0.08),
        inset 2px 2px 4px rgba(255, 255, 255, 0.5),
        inset -2px -2px 4px rgba(0, 0, 0, 0.05);
    position: relative;
}



.pf-input:focus {
    border-color: #ff6b35;
    box-shadow: 
        0 12px 24px rgba(255, 107, 53, 0.3),
        0 6px 12px rgba(255, 107, 53, 0.2),
        inset 0 4px 8px rgba(255, 255, 255, 0.95),
        inset 0 -4px 8px rgba(0, 0, 0, 0.1),
        inset 2px 2px 4px rgba(255, 255, 255, 0.6),
        inset -2px -2px 4px rgba(0, 0, 0, 0.06);
    outline: none;
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    transform: translateY(-2px);
}

/* ==========================================
   3. 3D PILL BUTTONS & ACTIONS
   ========================================== */
.btn,
button,
.btn-primary,
.btn-secondary,
.btn-success,
.btn-danger,
.btn-warning,
.btn-info,
.btn-light,
.btn-dark,
.btn-outline-primary,
.btn-outline-secondary,
.btn-outline-success,
.btn-outline-danger,
.btn-outline-warning,
.btn-outline-info,
.btn-outline-light,
.btn-outline-dark,
.btn-next,
.btn-prev,
.btn-save,
.btn-pill-orange,
.btn-primary-lux,
.btn-save-profile,
.btn-verify-otp,
.skeuo-action-btn,
.btn-navy,
.btn-outline-navy,
.btn-orange,
.btn-create-large {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-weight: 800;
    font-size: 16px;
    color: #1e1e1e;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 44px;
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    border: 3px solid #d0d0d0;
    border-radius: 9999px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 
        6px 6px 15px rgba(0, 0, 0, 0.2),
        -6px -6px 15px rgba(255, 255, 255, 0.8),
        3px 3px 8px rgba(0, 0, 0, 0.12),
        -3px -3px 8px rgba(255, 255, 255, 0.6),
        inset 3px 3px 6px rgba(255, 255, 255, 0.95),
        inset -3px -3px 6px rgba(0, 0, 0, 0.08),
        inset 1px 1px 2px rgba(255, 255, 255, 1),
        inset -1px -1px 2px rgba(0, 0, 0, 0.04);
    transform-style: preserve-3d;
    perspective: 1000px;
    cursor: pointer;
    text-align: center;
    line-height: 1;
    font-smooth: antialiased;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    gap: 0;
    width: 85%;
    max-width: 380px;
    box-sizing: border-box;
    margin-top: 0;
    margin-left: auto;
    margin-right: auto;
}

.btn:hover,
button:hover,
.btn-primary:hover,
.btn-secondary:hover,
.btn-success:hover,
.btn-danger:hover,
.btn-warning:hover,
.btn-info:hover,
.btn-light:hover,
.btn-dark:hover,
.btn-outline-primary:hover,
.btn-outline-secondary:hover,
.btn-outline-success:hover,
.btn-outline-danger:hover,
.btn-outline-warning:hover,
.btn-outline-info:hover,
.btn-outline-light:hover,
.btn-outline-dark:hover,
.btn-next:hover,
.btn-prev:hover,
.btn-save:hover,
.btn-pill-orange:hover,
.btn-primary-lux:hover,
.btn-save-profile:hover,
.btn-verify-otp:hover,
.skeuo-action-btn:hover,
.btn-navy:hover,
.btn-outline-navy:hover,
.btn-orange:hover,
.btn-create-large:hover {
    background: #192841;
    color: #ffffff;
    border-color: #192841;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 
        10px 10px 25px rgba(25, 40, 65, 0.45),
        -10px -10px 25px rgba(255, 255, 255, 0.9),
        5px 5px 12px rgba(25, 40, 65, 0.30),
        -5px -5px 12px rgba(255, 255, 255, 0.7),
        inset 4px 4px 8px rgba(255, 255, 255, 0.2),
        inset -4px -4px 8px rgba(0, 0, 0, 0.25),
        inset 2px 2px 4px rgba(255, 255, 255, 0.15),
        inset -2px -2px 4px rgba(0, 0, 0, 0.15),
        0 0 20px rgba(25, 40, 65, 0.25);
}

.btn:hover span,
button:hover span,
.btn-primary:hover span,
.btn-secondary:hover span,
.btn-success:hover span,
.btn-danger:hover span,
.btn-warning:hover span,
.btn-info:hover span,
.btn-light:hover span,
.btn-dark:hover span,
.btn-outline-primary:hover span,
.btn-outline-secondary:hover span,
.btn-outline-success:hover span,
.btn-outline-danger:hover span,
.btn-outline-warning:hover span,
.btn-outline-info:hover span,
.btn-outline-light:hover span,
.btn-outline-dark:hover span,
.btn-next:hover span,
.btn-prev:hover span,
.btn-save:hover span,
.btn-pill-orange:hover span,
.btn-primary-lux:hover span,
.btn-save-profile:hover span,
.btn-verify-otp:hover span,
.skeuo-action-btn:hover span,
.btn-navy:hover span,
.btn-outline-navy:hover span,
.btn-orange:hover span,
.btn-create-large:hover span,
.google-btn:hover span {
    color: #ffffff !important;
}

.google-btn:hover .text {
    color: #ffffff !important;
}

.btn:hover i,
button:hover i,
.btn-primary:hover i,
.btn-secondary:hover i,
.btn-success:hover i,
.btn-danger:hover i,
.btn-warning:hover i,
.btn-info:hover i,
.btn-light:hover i,
.btn-dark:hover i,
.btn-outline-primary:hover i,
.btn-outline-secondary:hover i,
.btn-outline-success:hover i,
.btn-outline-danger:hover i,
.btn-outline-warning:hover i,
.btn-outline-info:hover i,
.btn-outline-light:hover i,
.btn-outline-dark:hover i,
.btn-next:hover i,
.btn-prev:hover i,
.btn-save:hover i,
.btn-pill-orange:hover i,
.btn-primary-lux:hover i,
.btn-save-profile:hover i,
.btn-verify-otp:hover i,
.skeuo-action-btn:hover i,
.btn-navy:hover i,
.btn-outline-navy:hover i,
.btn-orange:hover i,
.btn-create-large:hover i,
.google-btn:hover i {
    color: #ffffff !important;
}

.google-btn:hover span,
.google-btn:hover .text {
    color: #ffffff !important;
}



.btn:active,
button:active,
.btn-primary:active,
.btn-secondary:active,
.btn-success:active,
.btn-danger:active,
.btn-warning:active,
.btn-info:active,
.btn-light:active,
.btn-dark:active,
.btn-outline-primary:active,
.btn-outline-secondary:active,
.btn-outline-success:active,
.btn-outline-danger:active,
.btn-outline-warning:active,
.btn-outline-info:active,
.btn-outline-light:active,
.btn-outline-dark:active,
.btn-next:active,
.btn-prev:active,
.btn-save:active,
.btn-pill-orange:active,
.btn-primary-lux:active,
.btn-save-profile:active,
.btn-verify-otp:active,
.skeuo-action-btn:active,
.btn-navy:active,
.btn-outline-navy:active,
.btn-orange:active,
.btn-create-large:active {
    transform: scale(0.97) translateY(0px);
    transition-duration: 0.1s;
}

/* Stakeholder secondary action button */
.btn-stakeholder {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-weight: 800;
    font-size: 16px;
    color: #1e1e1e;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    display: inline-block;
    align-items: center;
    justify-content: center;
    padding: 14px 44px;
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    border: 3px solid #d0d0d0;
    border-radius: 9999px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 
        6px 6px 15px rgba(0, 0, 0, 0.2),
        -6px -6px 15px rgba(255, 255, 255, 0.8),
        3px 3px 8px rgba(0, 0, 0, 0.12),
        -3px -3px 8px rgba(255, 255, 255, 0.6),
        inset 3px 3px 6px rgba(255, 255, 255, 0.95),
        inset -3px -3px 6px rgba(0, 0, 0, 0.08),
        inset 1px 1px 2px rgba(255, 255, 255, 1),
        inset -1px -1px 2px rgba(0, 0, 0, 0.04);
    transform-style: preserve-3d;
    perspective: 1000px;
    cursor: pointer;
    text-align: center;
    line-height: 1;
    font-smooth: antialiased;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 85%;
    max-width: 380px;
    box-sizing: border-box;
    margin-top: 0;
    margin-left: auto;
    margin-right: auto;
    vertical-align: middle;
    position: relative;
    z-index: 1;
}

.btn-stakeholder:hover {
    background: #192841;
    color: #ffffff;
    border-color: #192841;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 
        10px 10px 25px rgba(25, 40, 65, 0.45),
        -10px -10px 25px rgba(255, 255, 255, 0.9),
        5px 5px 12px rgba(255, 255, 255, 0.30),
        -5px -5px 12px rgba(255, 255, 255, 0.7),
        inset 4px 4px 8px rgba(255, 255, 255, 0.2),
        inset -4px -4px 8px rgba(0, 0, 0, 0.25),
        inset 2px 2px 4px rgba(255, 255, 255, 0.15),
        inset -2px -2px 4px rgba(0, 0, 0, 0.15),
        0 0 20px rgba(25, 40, 65, 0.25);
}

.btn-stakeholder:hover span {
    color: #ffffff !important;
}

.btn-stakeholder:active {
    transform: scale(0.97) translateY(0px);
    transition-duration: 0.1s;
}

/* Google button */
.google-btn {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-weight: 800;
    font-size: 16px;
    color: #1e1e1e;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 44px;
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    border: 3px solid #d0d0d0;
    border-radius: 9999px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 
        6px 6px 15px rgba(0, 0, 0, 0.2),
        -6px -6px 15px rgba(255, 255, 255, 0.8),
        3px 3px 8px rgba(0, 0, 0, 0.12),
        -3px -3px 8px rgba(255, 255, 255, 0.6),
        inset 3px 3px 6px rgba(255, 255, 255, 0.95),
        inset -3px -3px 6px rgba(0, 0, 0, 0.08),
        inset 1px 1px 2px rgba(255, 255, 255, 1),
        inset -1px -1px 2px rgba(0, 0, 0, 0.04);
    transform-style: preserve-3d;
    perspective: 1000px;
    cursor: pointer;
    text-align: center;
    line-height: 1;
    font-smooth: antialiased;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 85%;
    max-width: 380px;
    box-sizing: border-box;
    margin-top: 0;
    text-decoration: none;
    vertical-align: middle;
    position: relative;
    z-index: 1;
}

.google-btn:hover {
    background: #192841;
    color: #ffffff;
    border-color: #192841;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 
        10px 10px 25px rgba(25, 40, 65, 0.45),
        -10px -10px 25px rgba(255, 255, 255, 0.9),
        5px 5px 12px rgba(25, 40, 65, 0.30),
        -5px -5px 12px rgba(255, 255, 255, 0.7),
        inset 4px 4px 8px rgba(255, 255, 255, 0.2),
        inset -4px -4px 8px rgba(0, 0, 0, 0.25),
        inset 2px 2px 4px rgba(255, 255, 255, 0.15),
        inset -2px -2px 4px rgba(0, 0, 0, 0.15),
        0 0 20px rgba(25, 40, 65, 0.25);
}

.google-btn:active {
    transform: scale(0.97) translateY(0px);
    transition-duration: 0.1s;
}

.svg {
    height: 24px;
    width: 24px;
    margin-right: 12px;
    z-index: 6;
    display: block;
}

.blue {
    fill: #4285F4 !important;
}

.green {
    fill: #34A853 !important;
}

.yellow {
    fill: #FBBC05 !important;
}

.red {
    fill: #EB4335 !important;
}

.google-btn .text {
    z-index: 10;
    color: #1e1e1e;
}

/* Specific button width overrides */
.skeuo-action-btn {
    width: auto;
    min-width: 180px;
    max-width: 280px;
}

.btn-primary-lux,
.btn-save-profile,
.btn-verify-otp {
    width: 100%;
}

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

/* Exception for circular action buttons */
.btn-light.rounded-circle {
    background: #f8f9fa;
    color: #dc3545;
    border: none;
    padding: 0;
    transition: all 0.2s;
}

.btn-light.rounded-circle:hover {
    background: #fee2e2;
}

/* Center buttons for LoginType and SignupType pages */
.login-page-wrapper .form_front .btn {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 15px auto;
}

/* Ensure proper centering for type selection pages */
.form_front .btn {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Specific fix for LoginType and SignupType to center buttons vertically */
.login-page-wrapper .form_front {
    justify-content: center;
}

/* Make type selection buttons more bulky (taller) and reduce spacing */
.form-type-select .form_front .btn {
    padding: 24px 44px;
    margin: 8px auto;
}

/* Responsive styling for type selection buttons on smaller screens */
@media (max-width: 768px) {
    .form-type-select .form_front .btn {
        padding: 20px 36px;
        margin: 6px auto;
    }
}

@media (max-width: 480px) {
    .form-type-select .form_front .btn {
        padding: 18px 32px;
        margin: 5px auto;
        font-size: 14px;
    }
}

/* ==========================================
   4. OTP INPUTS & TIMERS
   ========================================== */
.otp-inputs,
.otp-input-group {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 20px;
}

.otp-box,
.otp-field {
    width: 60px;
    height: 70px;
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    border: none;
    border-radius: 50px;
    font-size: 2.2rem;
    font-weight: 900;
    color: #192841;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    box-shadow: 4px 4px 8px #c5c5c5;
    position: relative;
}

.otp-box::before,
.otp-field::before {
    content: '';
    position: absolute;
    top: 1px;
    left: 1px;
    right: 1px;
    bottom: 4px;
    border-radius: 50px;
    background: transparent;
    pointer-events: none;
    z-index: 1;
}

.otp-box:focus,
.otp-field:focus {
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    box-shadow: 6px 6px 12px #c5c5c5,
               inset 2px 2px 4px rgba(255, 102, 0, 0.1),
               inset -2px -2px 4px rgba(255, 102, 0, 0.05);
    transform: translateY(-2px);
}

.otp-container,
.password-container {
    display: none;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.resend-timer {
    text-align: center;
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 10px;
}

.timer-display {
    text-align: center;
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
}

#timer-count {
    color: #ff6600;
    font-weight: 700;
}

/* ==========================================
   5. STAKEHOLDER SELECTOR & IOS TOGGLES
   ========================================== */
.stakeholder-selector {
    display: flex;
    flex-direction: row;
    gap: 0;
    margin-top: 10px;
    width: 100%;
    position: relative;
    z-index: 1;
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    border-radius: 16px;
    box-shadow: 3px 3px 6px #c5c5c5;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.stakeholder-option {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 15px;
    background: transparent;
    border: none !important;
    outline: none !important;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 50px;
    position: relative;
    z-index: 2;
    user-select: none;
    border-right: 2px solid rgba(0, 0, 0, 0.12);
    flex: 1;
}

.stakeholder-option:last-child {
    border-right: none;
}

.stakeholder-option:hover {
    background: transparent;
}

.stakeholder-option.active {
    background: transparent;
}

.stakeholder-label {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #192841;
    pointer-events: none;
    text-align: center;
    flex: 1;
}

.stakeholder-option.active .stakeholder-label {
    color: #192841;
    font-weight: 600;
}

/* Skeuomorphic toggle switch */
.ios-toggle-switch {
    position: relative;
    width: 51px;
    height: 31px;
    background: linear-gradient(145deg, #e8e8e8, #ffffff);
    border-radius: 31px;
    transition: all 0.3s ease;
    flex-shrink: 0;
    pointer-events: none;
    box-shadow: 
        inset 3px 3px 6px rgba(0, 0, 0, 0.1),
        inset -3px -3px 6px rgba(255, 255, 255, 0.8),
        2px 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.ios-toggle-switch::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 25px;
    height: 25px;
    background: linear-gradient(145deg, #ffffff, #f8f8f8);
    border-radius: 50%;
    box-shadow: 
        3px 3px 6px rgba(0, 0, 0, 0.15),
        -3px -3px 6px rgba(255, 255, 255, 0.9),
        inset 1px 1px 2px rgba(255, 255, 255, 0.8),
        inset -1px -1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.stakeholder-option.active .ios-toggle-switch {
    background: linear-gradient(145deg, #34c759, #2eb84a);
    box-shadow: 
        inset 3px 3px 6px rgba(0, 0, 0, 0.15),
        inset -3px -3px 6px rgba(255, 255, 255, 0.3),
        2px 2px 4px rgba(52, 199, 89, 0.3);
    border: 1px solid rgba(52, 199, 89, 0.3);
}

.stakeholder-option.active .ios-toggle-switch::after {
    transform: translateX(20px);
    background: linear-gradient(145deg, #ffffff, #f0fff4);
    box-shadow: 
        3px 3px 6px rgba(0, 0, 0, 0.15),
        -3px -3px 6px rgba(255, 255, 255, 0.9),
        inset 1px 1px 2px rgba(255, 255, 255, 0.8),
        inset -1px -1px 2px rgba(0, 0, 0, 0.05);
}

/* iOS-style radio button */
.ios-radio-button {
    position: relative;
    width: 24px;
    height: 24px;
    background: linear-gradient(145deg, #e8e8e8, #ffffff);
    border-radius: 50%;
    transition: all 0.3s ease;
    flex-shrink: 0;
    pointer-events: none;
    box-shadow: 
        inset 2px 2px 4px rgba(0, 0, 0, 0.1),
        inset -2px -2px 4px rgba(255, 255, 255, 0.8),
        1px 1px 2px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.radio-inner {
    width: 12px;
    height: 12px;
    background: linear-gradient(145deg, #ffffff, #f8f8f8);
    border-radius: 50%;
    box-shadow: 
        1px 1px 2px rgba(0, 0, 0, 0.1),
        -1px -1px 2px rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0.5);
}

.stakeholder-option.active .ios-radio-button {
    background: linear-gradient(145deg, #34c759, #2eb84a);
    box-shadow: 
        inset 2px 2px 4px rgba(0, 0, 0, 0.15),
        inset -2px -2px 4px rgba(255, 255, 255, 0.3),
        1px 1px 2px rgba(52, 199, 89, 0.3);
    border: 1px solid rgba(52, 199, 89, 0.3);
}

.stakeholder-option.active .radio-inner {
    opacity: 1;
    transform: scale(1);
    background: linear-gradient(145deg, #ffffff, #f0fff4);
    box-shadow: 
        1px 1px 2px rgba(0, 0, 0, 0.1),
        -1px -1px 2px rgba(255, 255, 255, 0.9);
}

/* ==========================================
   6. ALERTS & BADGES
   ========================================== */
.text-danger {
    display: block;
    font-size: 0.85rem;
    color: #ef4444;
    font-weight: 600;
    margin-top: 4px;
    padding-left: 24px;
    text-transform: none;
    letter-spacing: normal;
}

.alert-error,
.alert-danger {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fee2e2;
    padding: 12px 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 1rem;
    font-weight: 600;
    width: 85%;
    max-width: 700px;
    text-align: center;
}

.alert-success {
    background: #f0fdf4;
    color: #16a34a;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-weight: 600;
    text-align: center;
    font-size: 1.1rem;
}

.alert-lux {
    padding: 10px 20px;
    border-radius: 50px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    display: none;
    text-align: center;
}

.alert-lux-error {
    background: #fff5f5;
    color: #dc2626;
    border: 1.5px solid #fca5a5;
}

.alert-lux-success {
    background: #f0fdf4;
    color: #16a34a;
    border: 1.5px solid #dcfce7;
}

.badge-verified {
    background: #dcfce7;
    color: #15803d;
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: 100px;
    margin-left: 10px;
}

.badge-unverified {
    background: #fee2e2;
    color: #b91c1c;
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: 100px;
    margin-left: 10px;
}

.info-banner {
    width: 85%;
    max-width: 380px;
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    border-left: 4px solid #ff6600;
    padding: 15px;
    border-radius: 8px;
    margin-top: 10px;
    font-size: 13px;
    color: #555;
    line-height: 1.5;
    box-shadow: 4px 4px 8px #bebebe,
               -4px -4px 8px #ffffff;
}

.info-banner h6 {
    margin: 0 0 5px 0;
    color: #192841;
    font-weight: 700;
    font-size: 14px;
}

.info-banner p {
    margin: 0;
}

/* ==========================================
   7. CUSTOMER & FORGOT PASSWORD PLATE STYLES
   ========================================== */
.login-bg {
    min-height: calc(100vh - 84px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    font-family: 'Inter', sans-serif;
    position: relative;
}

.login-bg::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 117, 31, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
}

.login-plate,
.signup-plate {
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    border: none;
    border-radius: 30px;
    width: 100%;
    max-width: 700px;
    padding: 0 0 44px;
    overflow: hidden;
    position: relative;
    z-index: 1;
    box-shadow: 15px 15px 30px #bebebe,
               -15px -15px 30px #ffffff;
    animation: floatIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.login-plate:hover,
.signup-plate:hover {
    transform: translateY(-10px);
    box-shadow: 20px 20px 40px #bebebe,
               -20px -20px 40px #ffffff;
}

@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.plate-banner {
    background: #192841 !important;
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.plate-banner-title,
.plate-brand {
    font-family: 'Inter', sans-serif;
    font-size: 1.6rem;
    font-weight: 900;
    color: #ff751f !important;
    letter-spacing: 0.05em;
    margin: 0;
    text-align: center;
}

.plate-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #192841;
    margin-bottom: 30px;
    text-align: center;
}

/* ==========================================
   8. MY ORDERS PAGE STYLES
   ========================================== */
.my-orders-wrapper {
    max-width: 100%;
    margin: 40px auto;
    padding: 0 20px;
    color: #1a1a1a;
    font-family: var(--font-main);
    overflow-x: hidden;
    box-sizing: border-box;
}

.my-orders-wrapper *,
.my-orders-wrapper *:before,
.my-orders-wrapper *:after {
    box-sizing: border-box;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-family: var(--font-main);
    font-weight: 800;
    font-size: 32px;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.section-header p {
    font-size: 16px;
    color: #64748b;
    font-weight: 500;
}

.orders-container {
    max-width: 900px;
    margin: 0 auto;
}

.order-card {
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    border: none;
    border-radius: 24px;
    padding: 0;
    margin-bottom: 30px;
    box-shadow: 8px 8px 20px #bebebe,
               -8px -8px 20px #ffffff;
    transition: all 0.3s ease;
}

.order-card:hover {
    transform: translateY(-4px);
    box-shadow: 12px 12px 30px #bebebe,
               -12px -12px 30px #ffffff;
}

.order-header {
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    padding: 24px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: none;
    border-radius: 24px 24px 0 0;
    box-shadow: inset 4px 4px 8px #bebebe,
               inset -4px -4px 8px #ffffff;
}

.order-id {
    display: block;
    font-family: var(--font-main);
    font-weight: 900;
    color: #ff6b35;
    font-size: 1.25rem;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.order-date {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 600;
}

.order-seller-link {
    margin-top: 8px;
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 600;
}

.order-seller-link i {
    color: #ff6b35;
    margin-right: 6px;
}

.order-seller-link strong {
    color: #1a1a1a;
}

.oh-status {
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow:
        2px 2px 6px rgba(0, 0, 0, 0.1),
        -2px -2px 6px rgba(255, 255, 255, 0.8);
}

.status-confirmed {
    background: linear-gradient(145deg, #fff5f0, #ffe8dd);
    border: 1px solid rgba(255, 107, 53, 0.3);
    color: #ff6b35;
}

.status-processing {
    background: linear-gradient(145deg, #f0f8ff, #e0f0ff);
    border: 1px solid rgba(0, 120, 255, 0.3);
    color: #0078ff;
}

.status-shipping {
    background: linear-gradient(145deg, #fff8e8, #ffedd0);
    border: 1px solid rgba(255, 165, 0, 0.3);
    color: #ffa500;
}

.status-delivered {
    background: linear-gradient(145deg, #f0fff8, #e0ffe8);
    border: 1px solid rgba(0, 200, 83, 0.3);
    color: #00c853;
}

.status-canceled {
    background: linear-gradient(145deg, #fff0f5, #ffe0e8);
    border: 1px solid rgba(255, 71, 87, 0.3);
    color: #ff4757;
}

.order-body {
    padding: 30px;
}

.cart-item-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px 14px;
    border-bottom: none;
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    box-shadow: inset 2px 2px 4px #bebebe,
               inset -2px -2px 4px #ffffff;
}

.cart-item-card:last-child {
    border-bottom: none;
}

.cart-item-main-section {
    display: flex;
    gap: 12px;
    align-items: center;
    width: 100%;
}

.cart-item-image {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    border: none;
    flex-shrink: 0;
    box-shadow: 2px 2px 4px #bebebe,
               -2px -2px 4px #ffffff;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: rgba(0, 0, 0, 0.15);
}

.cart-item-details-wrapper {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-grow: 1;
    min-width: 0;
}

.cart-details-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.cart-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.cart-item-name {
    font-weight: 700;
    font-size: 14px;
    color: #1a1a1a;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.3;
    margin: 0;
    flex: 1;
    min-width: 0;
}

.cart-item-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.06);
    margin: 6px 0;
}

.cart-item-variant-text,
.cart-warranty-text-styled {
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    min-width: 0;
}

.cart-item-price-orange,
.cart-warranty-price-orange {
    font-weight: 700;
    color: #ff6b35 !important;
    font-size: 13px;
    white-space: nowrap;
    flex-shrink: 0;
}

.cart-subtotal-qty-container {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.cart-subtotal-label {
    font-size: 13px;
    color: #64748b;
    font-weight: 600;
}

.cart-qty-display {
    display: flex;
    align-items: center;
}

.cart-qty-val {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
}

.cart-dots-leader {
    flex-grow: 1;
    border-bottom: 2px dotted rgba(0, 0, 0, 0.15);
    height: 1px;
    margin: 0 10px;
    align-self: center;
}

.cart-subtotal-price-remove {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.cart-row-price {
    font-weight: 700;
    font-size: 15px;
    color: #ff6b35;
    white-space: nowrap;
}

.cart-item-price {
    font-weight: 800;
    color: #ff6b35;
    font-size: 18px;
}

.order-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px dashed rgba(0, 0, 0, 0.1);
}

.of-seller {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 600;
}

.of-seller i {
    color: #ff6b35;
    margin-right: 6px;
}

.of-seller strong {
    color: #1a1a1a;
}

.of-total {
    text-align: right;
}

.of-total span {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #64748b;
    margin-bottom: 4px;
}

.of-total strong {
    font-family: var(--font-main);
    font-size: 1.8rem;
    color: #ff6b35;
    font-weight: 900;
}

.empty-state {
    text-align: center;
    padding: 100px 20px;
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    border-radius: 24px;
    border: none;
    box-shadow: 8px 8px 20px #bebebe,
               -8px -8px 20px #ffffff;
}

.empty-state i {
    font-size: 4rem;
    color: rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.empty-state h3 {
    font-size: 24px;
    color: #1a1a1a;
    font-weight: 800;
    margin-bottom: 10px;
}

.empty-state p {
    font-size: 16px;
    color: #64748b;
    margin-bottom: 30px;
}

/* ==========================================
   9. MY PROFILE & PROFILE DASHBOARD
   ========================================== */
.profile-universe {
    min-height: calc(100vh - 84px);
    display: flex;
    align-items: stretch;
    font-family: 'Inter', sans-serif;
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    overflow: hidden;
    position: relative;
}

.profile-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    position: relative;
    z-index: 1;
}

.profile-main::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 0% 0%, rgba(255, 117, 31, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(255, 117, 31, 0.03) 0%, transparent 50%);
    z-index: -1;
}

.profile-form-wrap {
    width: 100%;
    max-width: 800px;
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    padding: 80px;
    border-radius: 30px;
    box-shadow: 15px 15px 30px #bebebe,
               -15px -15px 30px #ffffff;
    border: none;
    position: relative;
    overflow: hidden;
}

.profile-form-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, transparent 50%, var(--soft-orange) 50%);
    opacity: 0.5;
}

.section-eyebrow {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--primary-orange);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-eyebrow::after {
    content: '';
    flex: 1;
    height: 2px;
    background: var(--soft-orange);
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    color: var(--text-main);
    letter-spacing: -0.05em;
    margin-bottom: 12px;
    font-family: 'Inter', sans-serif;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 500;
}

/* OTP Modal Overlay */
#otpOverlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.otp-card {
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    width: 100%;
    max-width: 450px;
    padding: 50px;
    border-radius: 30px;
    text-align: center;
    box-shadow: 15px 15px 30px #bebebe,
               -15px -15px 30px #ffffff;
}

.otp-header {
    margin-bottom: 30px;
}

.otp-icon-wrap {
    width: 80px;
    height: 80px;
    background: var(--soft-orange);
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-orange);
    margin: 0 auto 20px;
}

.otp-title {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--text-main);
    margin-bottom: 8px;
}

.otp-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ==========================================
   10. USER RIGHTS & PERMISSIONS STYLES
   ========================================== */
.bg-navy {
    background-color: #192841 !important;
}

.text-navy {
    color: #192841 !important;
}

.page-header-container {
    padding: 20px 0;
    margin-bottom: 40px;
    position: relative;
}

.rights-card {
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    border-radius: 30px;
    box-shadow: 8px 8px 16px #bebebe,
               -8px -8px 16px #ffffff;
    border: none;
    transition: all 0.3s ease;
}

.rights-card:hover {
    transform: translateY(-5px);
    box-shadow: 12px 12px 24px #bebebe,
               -12px -12px 24px #ffffff;
}

.rights-card-header {
    background: #192841;
    padding: 30px;
    border-bottom: 2px solid #ff751f;
    border-radius: 28px 28px 0 0;
}

.user-name-title {
    font-size: 1.8rem;
    font-weight: 900;
    color: #192841;
}

.user-email-text {
    font-size: 1.15rem;
    color: #64748b;
    font-weight: 300;
}

.permission-box {
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    border: none;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 25px;
    transition: all 0.3s;
    box-shadow: 4px 4px 8px #bebebe,
               -4px -4px 8px #ffffff;
}

.permission-box:hover {
    box-shadow: 6px 6px 12px #bebebe,
               -6px -6px 12px #ffffff;
}

.hub-title-large {
    font-size: 1.4rem;
    font-weight: 900;
    color: #192841;
}

/* Modal Skeuomorphic Styling */
.modal-content {
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    box-shadow: 12px 12px 24px #bebebe,
               -12px -12px 24px #ffffff;
    border: none;
}

.modal-header {
    background: #192841;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3),
               -4px -4px 8px rgba(255, 255, 255, 0.1);
}

.modal-switch-row {
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    box-shadow: 3px 3px 6px #bebebe,
               -3px -3px 6px #ffffff;
}

.modal-switch-row:hover {
    transform: translateY(-2px);
    box-shadow: 4px 4px 8px #bebebe,
               -4px -4px 8px #ffffff;
}

.modal-switch-row.active {
    border: none;
    background: #ffffff !important;
    box-shadow: 4px 4px 8px #bebebe,
               -4px -4px 8px #ffffff,
               inset 2px 2px 4px rgba(255, 117, 31, 0.2),
               inset -2px -2px 4px rgba(255, 117, 31, 0.1);
}

/* iOS Switches */
.custom-switch .form-check-input {
    width: 3.5rem;
    height: 2rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    box-shadow: inset 3px 3px 6px #bebebe,
               inset -3px -3px 6px #ffffff;
    border: none;
    border-radius: 2rem;
    position: relative;
    appearance: none;
    -webkit-appearance: none;
}

.custom-switch .form-check-input::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: calc(2rem - 6px);
    height: calc(2rem - 6px);
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    border-radius: 50%;
    box-shadow: 2px 2px 4px #bebebe,
               -2px -2px 4px #ffffff;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.custom-switch .form-check-input:checked {
    background: #ff751f;
    border: none;
    box-shadow: inset 2px 2px 4px rgba(0, 0, 0, 0.15),
               inset -2px -2px 4px rgba(255, 255, 255, 0.2);
}

.custom-switch .form-check-input:checked::before {
    transform: translateX(calc(3.5rem - 2rem));
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    box-shadow: 2px 2px 4px #bebebe,
               -2px -2px 4px #ffffff;
}

.custom-switch-orange .form-check-input {
    width: 3rem;
    height: 1.75rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    box-shadow: inset 2px 2px 4px #bebebe,
               inset -2px -2px 4px #ffffff;
    border: none;
    border-radius: 2rem;
    position: relative;
    appearance: none;
    -webkit-appearance: none;
}

.custom-switch-orange .form-check-input::before {
    content: '';
    position: absolute;
    top: 2.5px;
    left: 2.5px;
    width: calc(1.75rem - 5px);
    height: calc(1.75rem - 5px);
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    border-radius: 50%;
    box-shadow: 2px 2px 4px #bebebe,
               -2px -2px 4px #ffffff;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.custom-switch-orange .form-check-input:checked {
    background: #ff751f;
    border: none;
    box-shadow: inset 2px 2px 4px rgba(0, 0, 0, 0.15),
               inset -2px -2px 4px rgba(255, 255, 255, 0.2);
}

.custom-switch-orange .form-check-input:checked::before {
    transform: translateX(calc(3rem - 1.75rem));
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    box-shadow: 2px 2px 4px #bebebe,
               -2px -2px 4px #ffffff;
}

.perm-level {
    min-height: 1.2rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hub-option .btn-outline-light {
    border: 3px solid #d0d0d0;
    color: #192841;
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    box-shadow: 
        6px 6px 15px rgba(0, 0, 0, 0.2),
        -6px -6px 15px rgba(255, 255, 255, 0.8),
        3px 3px 8px rgba(0, 0, 0, 0.12),
        -3px -3px 8px rgba(255, 255, 255, 0.6),
        inset 3px 3px 6px rgba(255, 255, 255, 0.95),
        inset -3px -3px 6px rgba(0, 0, 0, 0.08),
        inset 1px 1px 2px rgba(255, 255, 255, 1),
        inset -1px -1px 2px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hub-option .btn-outline-light:hover {
    background: #192841;
    color: #ffffff;
    border-color: #192841;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 
        10px 10px 25px rgba(25, 40, 65, 0.45),
        -10px -10px 25px rgba(255, 255, 255, 0.9),
        5px 5px 12px rgba(25, 40, 65, 0.30),
        -5px -5px 12px rgba(255, 255, 255, 0.7),
        inset 4px 4px 8px rgba(255, 255, 255, 0.2),
        inset -4px -4px 8px rgba(0, 0, 0, 0.25),
        inset 2px 2px 4px rgba(255, 255, 255, 0.15),
        inset -2px -2px 4px rgba(0, 0, 0, 0.15),
        0 0 20px rgba(25, 40, 65, 0.25);
}

.hub-option .btn-check:checked+.btn-outline-light {
    border: 3px solid #d0d0d0;
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    box-shadow: 
        6px 6px 15px rgba(0, 0, 0, 0.2),
        -6px -6px 15px rgba(255, 255, 255, 0.8),
        3px 3px 8px rgba(0, 0, 0, 0.12),
        -3px -3px 8px rgba(255, 255, 255, 0.6),
        inset 3px 3px 6px rgba(255, 255, 255, 0.95),
        inset -3px -3px 6px rgba(0, 0, 0, 0.08),
        inset 1px 1px 2px rgba(255, 255, 255, 1),
        inset -1px -1px 2px rgba(0, 0, 0, 0.04),
        inset 2px 2px 4px rgba(255, 117, 31, 0.2),
        inset -2px -2px 4px rgba(255, 117, 31, 0.1);
}

/* ==========================================
   11. MEDIA QUERIES & RESPONSIVENESS
   ========================================== */
@media (max-width: 992px) {

    .signup-plate,
    .login-plate {
        width: 96% !important;
        max-width: 100% !important;
        margin: 0 auto;
    }

    .form:has(.row),
    .form.form-wide {
        max-width: 95%;
        height: auto;
        min-height: 800px;
    }

    .profile-universe {
        flex-direction: column;
    }

    .profile-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 60px 20px;
    }

    .profile-main {
        padding: 30px 15px;
    }

    .profile-form-wrap {
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    .login-page-wrapper {
        padding: 10px;
        min-height: auto;
    }

    .form,
    .form:has(.row),
    .form.form-wide {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: auto;
        position: relative;
    }

    .form .form_front,
    .form .form_back {
        position: relative !important;
        height: auto !important;
        min-height: auto;
        border-radius: 28px !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        padding-bottom: 30px !important;
        overflow-y: visible !important;
        transform: none !important;
    }

    /* Disable 3D flip on mobile for better UX */
    .container #signup_toggle:checked+.form {
        transform: none !important;
    }

    .form .form_back {
        display: none;
    }

    .container #signup_toggle:checked+.form .form_front {
        display: none;
    }

    .container #signup_toggle:checked+.form .form_back {
        display: flex;
    }

    .form-area {
        width: 96% !important;
        max-width: 100% !important;
        padding: 0 !important;
    }

    .header-block {
        width: 95% !important;
        margin-top: 20px !important;
        margin-bottom: 20px !important;
    }

    .form_details {
        font-size: 22px !important;
    }

    .row {
        flex-direction: column !important;
        gap: 0 !important;
    }

    .row .col-md-6,
    .row[style*="justify-content: center"] .col-md-6 {
        max-width: 100% !important;
        width: 100% !important;
    }

    .input-group {
        margin-top: 10px !important;
        width: 95% !important;
        max-width: 100% !important;
    }

    .auth-step {
        width: 95% !important;
        max-width: 100% !important;
    }

    .input,
    .pf-input,
    .sg-input {
        min-height: 56px !important;
        font-size: 16px !important;
        padding: 0px 20px !important;
        border-radius: 30px !important;
    }

    .pf-input {
        padding-left: 55px !important;
    }

    .input-group label {
        font-size: 16px !important;
        left: 20px !important;
    }

    .input:focus~label,
    .input:not(:placeholder-shown)~label {
        font-size: 12px !important;
        left: 16px !important;
        top: -10px !important;
    }

    .btn,
    button,
    .btn-primary,
    .btn-secondary,
    .btn-success,
    .btn-danger,
    .btn-warning,
    .btn-info,
    .btn-light,
    .btn-dark,
    .btn-outline-primary,
    .btn-outline-secondary,
    .btn-outline-success,
    .btn-outline-danger,
    .btn-outline-warning,
    .btn-outline-info,
    .btn-outline-light,
    .btn-outline-dark,
    .btn-next,
    .btn-prev,
    .btn-save,
    .btn-pill-orange,
    .btn-primary-lux,
    .btn-save-profile,
    .btn-verify-otp,
    .skeuo-action-btn,
    .btn-navy,
    .btn-outline-navy,
    .btn-orange,
    .btn-create-large,
    .btn-stakeholder,
    .google-btn {
        width: 95% !important;
        max-width: 100% !important;
        padding: 16px 28px !important;
        font-size: 16px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .stakeholder-selector {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        width: 100% !important;
        background: transparent !important;
        box-shadow: none !important;
        border-radius: 0 !important;
    }

    .stakeholder-option {
        width: 100% !important;
        min-height: 55px !important;
        padding: 12px 18px !important;
        border-radius: 16px !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        border-right: none !important;
        border-bottom: none !important;
        background: linear-gradient(145deg, #ffffff, #f0f0f0) !important;
        box-shadow: 3px 3px 6px #c5c5c5 !important;
    }

    .stakeholder-label {
        font-size: 15px !important;
    }

    .stakeholder-label {
        font-size: 15px !important;
    }

    .otp-inputs,
    .otp-input-group {
        gap: 8px !important;
    }

    .otp-box,
    .otp-field {
        width: 50px !important;
        height: 60px !important;
        font-size: 1.8rem !important;
    }

    .my-orders-wrapper {
        padding: 0 10px;
        margin: 20px auto;
    }

    .order-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .order-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .of-total {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .login-page-wrapper {
        padding: 8px;
    }

    .form,
    .form:has(.row),
    .form.form-wide {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: auto;
    }

    .form .form_front,
    .form .form_back {
        border-radius: 20px !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
        height: auto !important;
        min-height: auto;
        transform: none !important;
    }

    /* Disable 3D flip on mobile for better UX */
    .container #signup_toggle:checked+.form {
        transform: none !important;
    }

    .form .form_back {
        display: none;
    }

    .container #signup_toggle:checked+.form .form_front {
        display: none;
    }

    .container #signup_toggle:checked+.form .form_back {
        display: flex;
    }

    .form_details {
        font-size: 20px !important;
    }

    .header-block {
        width: 95% !important;
        margin-top: 15px !important;
        margin-bottom: 15px !important;
    }

    .input-group {
        width: 95% !important;
        max-width: 100% !important;
    }

    .auth-step {
        width: 95% !important;
        max-width: 100% !important;
    }

    .input,
    .pf-input,
    .sg-input {
        min-height: 50px !important;
        font-size: 15px !important;
        padding: 0px 16px !important;
        letter-spacing: 1px !important;
    }

    .pf-input {
        padding-left: 48px !important;
    }

    .btn,
    button,
    .btn-primary,
    .btn-secondary,
    .btn-success,
    .btn-danger,
    .btn-warning,
    .btn-info,
    .btn-light,
    .btn-dark,
    .btn-outline-primary,
    .btn-outline-secondary,
    .btn-outline-success,
    .btn-outline-danger,
    .btn-outline-warning,
    .btn-outline-info,
    .btn-outline-light,
    .btn-outline-dark,
    .btn-next,
    .btn-prev,
    .btn-save,
    .btn-pill-orange,
    .btn-primary-lux,
    .btn-save-profile,
    .btn-verify-otp,
    .skeuo-action-btn,
    .btn-navy,
    .btn-outline-navy,
    .btn-orange,
    .btn-create-large,
    .btn-stakeholder,
    .google-btn {
        width: 100% !important;
        padding: 14px 20px !important;
        font-size: 14px !important;
        letter-spacing: 0.5px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .otp-inputs,
    .otp-input-group {
        gap: 6px !important;
    }

    .otp-box,
    .otp-field {
        width: 42px !important;
        height: 52px !important;
        font-size: 1.5rem !important;
    }

    .my-orders-wrapper {
        padding: 0 10px !important;
        margin: 0 !important;
    }

    .order-card {
        border-radius: 16px;
    }

    .order-header {
        padding: 20px;
    }

    .order-body {
        padding: 20px;
    }

    .cart-item-card {
        padding: 10px 12px;
    }

    /* Ensure buttons are centered on small mobile for type selection pages */
    .form_front .btn {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        margin: 12px auto !important;
    }
}

@media (max-height: 760px) {
    .header-block {
        margin-top: 20px !important;
    }
}

/* ==========================================
   TYPE SELECTION PAGES (Logintype / SignupType)
   No 3D flip; center two large navigation buttons
   ========================================== */
.form.form-type-select {
    transform-style: flat;
    min-height: 400px;
    height: auto;
}

.form.form-type-select.form-signup-type {
    min-height: 550px;
}

.form.form-type-select .form_front {
    position: absolute;
    height: auto;
    min-height: 0;
    backface-visibility: visible;
    justify-content: center;
    padding-top: 20px;
    padding-bottom: 40px;
    gap: 8px;
    background: transparent;
    box-shadow: none;
}

.btn-type-select {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 80%;
    max-width: 320px;
    padding: 16px 24px;
    font-size: 1rem;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #ffffff !important;
    background: linear-gradient(135deg, #ff751f, #e65a00);
    border: none;
    border-radius: 50px;
    box-shadow: 4px 4px 12px rgba(255, 117, 31, 0.35);
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
}

.btn-type-select:hover,
.btn-type-select:focus {
    background: linear-gradient(135deg, #e65a00, #cc4e00);
    box-shadow: 6px 6px 18px rgba(255, 117, 31, 0.5);
    transform: translateY(-2px);
    color: #ffffff !important;
    text-decoration: none;
}

.btn-type-select:active {
    transform: translateY(0);
    box-shadow: 2px 2px 8px rgba(255, 117, 31, 0.25);
}

.btn-type-select span {
    pointer-events: none;
}