/**
 * GoXylo Login — Premium Edition
 * Animated mesh gradient, glassmorphism, staggered entrances, morphing blobs.
 * Pure CSS — no JavaScript required.
 *
 * Applied to ALL login-family pages: /web/login, /web/reset_password, /web/signup.
 * The GoXylo split-panel layout is injected via web.login_layout override, so
 * every page that calls web.login_layout gets branded automatically.
 */

/* ============================= VARIABLES ============================= */
:root {
    --gx-green-900: #0f1f16;
    --gx-green-800: #1a2f23;
    --gx-green-700: #1E3A28;
    --gx-green-600: #2E5339;
    --gx-green-500: #3d6b4a;
    --gx-green-400: #4A7C5C;
    --gx-green-300: #6BCB77;
    --gx-green-200: #8FE097;
    --gx-green-100: #c8f0cc;
    --gx-green-50:  #edf8ee;

    --gx-bg:        #F7F9F8;
    --gx-bg-card:   #FFFFFF;
    --gx-text:      #111827;
    --gx-text-sec:  #6B7280;
    --gx-text-mute: #9CA3AF;
    --gx-border:    #E5E7EB;
    --gx-error:     #EF4444;
    --gx-error-bg:  #FEF2F2;
    --gx-success:   #10B981;
    --gx-success-bg:#ECFDF5;

    --gx-radius-sm: 10px;
    --gx-radius-md: 14px;
    --gx-radius-lg: 20px;
    --gx-shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --gx-shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --gx-shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --gx-ease:      cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================= HIDE WEBSITE CHROME ============================= */
/* Remove nav bar and footer on login pages for immersive full-screen experience */
body:has(.GoXylo-login-wrapper) header,
body:has(.GoXylo-login-wrapper) .o_header_standard,
body:has(.GoXylo-login-wrapper) nav.navbar,
body:has(.GoXylo-login-wrapper) footer,
body:has(.GoXylo-login-wrapper) .o_footer,
body:has(.GoXylo-login-wrapper) #wrapwrap > footer,
body:has(.GoXylo-login-wrapper) .o_edit_website_container,
body:has(.GoXylo-login-wrapper) .o_we_website_top_actions,
body:has(.GoXylo-login-wrapper) .o_we_customize_panel,
body:has(.GoXylo-login-wrapper) #oe_snippets {
    display: none !important;
}
body:has(.GoXylo-login-wrapper) a[href^="tel:"] {
    display: none !important;
}
body:has(.GoXylo-login-wrapper) main,
body:has(.GoXylo-login-wrapper) #wrapwrap {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* ============================= KEYFRAMES ============================= */
@keyframes meshShift {
    0%, 100% { background-position: 0% 50%; }
    25%      { background-position: 50% 0%; }
    50%      { background-position: 100% 50%; }
    75%      { background-position: 50% 100%; }
}

@keyframes blobMorph1 {
    0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; transform: translate(0, 0) rotate(0deg); }
    33%      { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; transform: translate(30px, -20px) rotate(60deg); }
    66%      { border-radius: 50% 30% 60% 40% / 40% 50% 60% 50%; transform: translate(-20px, 20px) rotate(120deg); }
}

@keyframes blobMorph2 {
    0%, 100% { border-radius: 40% 60% 50% 50% / 50% 40% 60% 50%; transform: translate(0, 0) rotate(0deg); }
    33%      { border-radius: 50% 50% 40% 60% / 60% 50% 50% 40%; transform: translate(-25px, 15px) rotate(-60deg); }
    66%      { border-radius: 60% 40% 60% 40% / 40% 60% 40% 60%; transform: translate(15px, -25px) rotate(-120deg); }
}

@keyframes blobMorph3 {
    0%, 100% { border-radius: 50% 50% 40% 60% / 60% 40% 50% 50%; transform: translate(0, 0); }
    50%      { border-radius: 40% 60% 50% 50% / 50% 50% 60% 40%; transform: translate(20px, 15px); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(24px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-12px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 4px 20px rgba(46, 83, 57, 0.25); }
    50%      { box-shadow: 0 4px 32px rgba(107, 203, 119, 0.35); }
}

@keyframes dividerGrow {
    from { width: 0; opacity: 0; }
    to   { width: 48px; opacity: 1; }
}

/* ============================= PAGE LAYOUT ============================= */
.GoXylo-login-wrapper {
    display: flex;
    min-height: 100vh;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    overflow: hidden;
}

/* ============================= LEFT PANEL — BRAND ============================= */
.GoXylo-login-brand {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 48px;
    overflow: hidden;

    /* Animated mesh gradient */
    background:
        radial-gradient(ellipse at 20% 80%, rgba(107, 203, 119, 0.12) 0, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(74, 124, 92, 0.15) 0, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(46, 83, 57, 0.2) 0, transparent 60%),
        linear-gradient(135deg, var(--gx-green-900) 0%, var(--gx-green-700) 35%, var(--gx-green-600) 65%, var(--gx-green-800) 100%);
    background-size: 250% 250%;
    animation: meshShift 20s ease-in-out infinite;
}

/* Grain texture overlay */
.brand-grain {
    position: absolute;
    inset: 0;
    opacity: 0.035;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 128px 128px;
}

/* ============================= MORPHING BLOBS ============================= */
.brand-blobs {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.blob {
    position: absolute;
    background: rgba(255, 255, 255, 0.04);
}

.blob-1 {
    width: 420px;
    height: 420px;
    top: -10%;
    left: -10%;
    animation: blobMorph1 18s ease-in-out infinite;
}

.blob-2 {
    width: 320px;
    height: 320px;
    bottom: -5%;
    right: -8%;
    background: rgba(107, 203, 119, 0.06);
    animation: blobMorph2 14s ease-in-out infinite;
}

.blob-3 {
    width: 200px;
    height: 200px;
    top: 45%;
    right: 15%;
    background: rgba(255, 255, 255, 0.025);
    animation: blobMorph3 10s ease-in-out infinite;
}

/* ============================= BRAND CONTENT ============================= */
.brand-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 440px;
    animation: fadeInUp 0.8s var(--gx-ease) both;
}

.brand-logo {
    margin-bottom: 36px;
}

.brand-logo .logo-img {
    height: 56px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.15));
}

.brand-tagline {
    font-size: 2.75rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.15;
    margin: 0 0 20px;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.15);
}

.brand-divider {
    width: 48px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(107, 203, 119, 0.7), transparent);
    margin: 0 auto 20px;
    animation: dividerGrow 1s var(--gx-ease) 0.3s both;
}

.brand-subtitle {
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.7;
    opacity: 0.8;
    margin: 0 0 40px;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================= FEATURE CARDS (Glass) ============================= */
.brand-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
}

/* Scoped under .GoXylo-login-brand to override goxylo_website theme.scss */
.GoXylo-login-brand .feature-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: var(--gx-radius-md);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.3s var(--gx-ease);
    cursor: default;
    color: white;
    box-shadow: none;

    /* Staggered entrance */
    opacity: 0;
    animation: fadeInUp 0.6s var(--gx-ease) both;
}
.GoXylo-login-brand .feature-card:nth-child(1) { animation-delay: 0.5s; }
.GoXylo-login-brand .feature-card:nth-child(2) { animation-delay: 0.65s; }
.GoXylo-login-brand .feature-card:nth-child(3) { animation-delay: 0.8s; }

.GoXylo-login-brand .feature-card:hover {
    background: rgba(255, 255, 255, 0.16) !important;
    border-color: rgba(255, 255, 255, 0.22) !important;
    transform: translateX(4px);
}

.GoXylo-login-brand .feature-icon-wrap {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(107, 203, 119, 0.18);
    border-radius: 10px;
    transition: transform 0.3s var(--gx-ease);
}

.GoXylo-login-brand .feature-card:hover .feature-icon-wrap {
    transform: scale(1.08);
}

.GoXylo-login-brand .feature-svg {
    width: 20px;
    height: 20px;
    stroke: var(--gx-green-200);
}

.GoXylo-login-brand .feature-text-wrap {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.GoXylo-login-brand .feature-title {
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: white;
}

.GoXylo-login-brand .feature-desc {
    font-size: 0.8125rem;
    opacity: 0.75;
    font-weight: 400;
    color: white;
}

/* ============================= BRAND WATERMARK ============================= */
.brand-watermark {
    position: absolute;
    bottom: 28px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.2);
    z-index: 2;
}

/* ============================= RIGHT PANEL — FORM ============================= */
.GoXylo-login-form {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 40px;
    background: var(--gx-bg);
    position: relative;
}

.form-content {
    width: 100%;
    max-width: 400px;
    animation: fadeInRight 0.7s var(--gx-ease) 0.15s both;
}

/* Mobile logo */
.mobile-logo {
    display: none;
    margin-bottom: 32px;
    text-align: center;
}
.mobile-logo img {
    height: 36px;
    width: auto;
}

/* ============================= INNER CONTAINER RESET ============================= */
/* The oe_website_login_container inside the right panel should be transparent */
.GoXylo-login-form .oe_website_login_container {
    max-width: none;
    padding: 0;
    margin: 0;
    background: transparent;
}

/* Hide the oe_structure divs (empty spacer blocks from Odoo) */
.GoXylo-login-form .oe_structure {
    display: none;
}

/* ============================= FORM STYLING (ALL FORMS) ============================= */
/*
 * These styles apply to ALL forms inside the right panel:
 * - oe_login_form (login page)
 * - oe_reset_password_form (reset password page)
 * - oe_signup_form (signup page)
 */

.GoXylo-login-form form[role="form"],
.GoXylo-login-form .oe_login_form,
.GoXylo-login-form .oe_reset_password_form,
.GoXylo-login-form .oe_signup_form {
    margin-bottom: 24px;
}

/* Style all form inputs inside the right panel */
.GoXylo-login-form .form-control,
.GoXylo-login-form .GoXylo-input {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.9375rem;
    font-family: inherit;
    border: 1.5px solid var(--gx-border);
    border-radius: var(--gx-radius-sm);
    background: var(--gx-bg-card);
    color: var(--gx-text);
    transition: all 0.2s ease;
    outline: none;
}

.GoXylo-login-form .form-control:hover,
.GoXylo-login-form .GoXylo-input:hover {
    border-color: #D1D5DB;
}

.GoXylo-login-form .form-control:focus,
.GoXylo-login-form .GoXylo-input:focus {
    border-color: var(--gx-green-600);
    box-shadow: 0 0 0 3px rgba(46, 83, 57, 0.1);
}

.GoXylo-login-form .form-control::placeholder,
.GoXylo-login-form .GoXylo-input::placeholder {
    color: var(--gx-text-mute);
    font-weight: 400;
}

/* Style all form labels inside the right panel */
.GoXylo-login-form .form-label,
.GoXylo-login-form .col-form-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gx-text);
    margin-bottom: 6px;
    letter-spacing: 0.01em;
}

/* Style margin-bottom groups */
.GoXylo-login-form .mb-3 {
    margin-bottom: 20px !important;
}

/* ============================= GoXylo-SPECIFIC FORM CLASSES ============================= */
.GoXylo-form {
    margin-bottom: 24px;
}

.GoXylo-input-group {
    margin-bottom: 20px;
}

.GoXylo-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gx-text);
    margin-bottom: 6px;
    letter-spacing: 0.01em;
}

/* Override Bootstrap floating-label when form-label co-exists */
.GoXylo-label.form-label {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    position: relative !important;
    transform: none !important;
    opacity: 1 !important;
    font-size: 0.8125rem !important;
    font-weight: 600 !important;
    color: var(--gx-text) !important;
    margin-bottom: 6px;
}

.GoXylo-label .o_user_switch_btn {
    font-size: 0.75rem;
    color: var(--gx-green-600);
    white-space: nowrap;
}

.label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.forgot-link {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--gx-green-600);
    text-decoration: none;
    transition: color 0.2s ease;
}
.forgot-link:hover {
    color: var(--gx-green-400);
}

/* ============================= ALERTS ============================= */
/* GoXylo-styled alerts (applied via template xpath) */
.GoXylo-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: var(--gx-radius-sm);
    margin-bottom: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    animation: slideDown 0.4s var(--gx-ease);
}

.GoXylo-alert-error {
    background: var(--gx-error-bg);
    color: var(--gx-error);
    border: 1px solid rgba(239, 68, 68, 0.15);
}

.GoXylo-alert-success {
    background: var(--gx-success-bg);
    color: var(--gx-success);
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.alert-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Also style default Odoo alerts inside the right panel (for reset_password/signup) */
.GoXylo-login-form .alert-danger {
    background: var(--gx-error-bg);
    color: var(--gx-error);
    border: 1px solid rgba(239, 68, 68, 0.15);
    border-radius: var(--gx-radius-sm);
    padding: 12px 16px;
    font-size: 0.875rem;
    font-weight: 500;
}

.GoXylo-login-form .alert-success {
    background: var(--gx-success-bg);
    color: var(--gx-success);
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: var(--gx-radius-sm);
    padding: 12px 16px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* ============================= BUTTONS ============================= */
.GoXylo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 0.9375rem;
    font-weight: 600;
    font-family: inherit;
    border-radius: var(--gx-radius-sm);
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: all 0.25s var(--gx-ease);
    position: relative;
    overflow: hidden;
}

.GoXylo-btn-primary {
    width: 100%;
    background: linear-gradient(135deg, var(--gx-green-600) 0%, var(--gx-green-500) 100%);
    color: white;
    box-shadow: 0 4px 16px rgba(46, 83, 57, 0.25);
}

.GoXylo-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(46, 83, 57, 0.35);
    background: linear-gradient(135deg, var(--gx-green-500) 0%, var(--gx-green-400) 100%);
    color: white;
}

.GoXylo-btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 12px rgba(46, 83, 57, 0.2);
}

.GoXylo-btn-primary:focus-visible {
    outline: 2px solid var(--gx-green-300);
    outline-offset: 2px;
}

.btn-arrow {
    width: 18px;
    height: 18px;
    transition: transform 0.25s var(--gx-ease);
}

.GoXylo-btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* Style all primary buttons inside the right panel (for reset_password/signup) */
.GoXylo-login-form .btn-primary {
    width: 100%;
    background: linear-gradient(135deg, var(--gx-green-600) 0%, var(--gx-green-500) 100%);
    color: white;
    box-shadow: 0 4px 16px rgba(46, 83, 57, 0.25);
    border: none;
    border-radius: var(--gx-radius-sm);
    padding: 12px 24px;
    font-size: 0.9375rem;
    font-weight: 600;
    transition: all 0.25s var(--gx-ease);
}

.GoXylo-login-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(46, 83, 57, 0.35);
    background: linear-gradient(135deg, var(--gx-green-500) 0%, var(--gx-green-400) 100%);
    color: white;
}

/* Style link buttons inside the right panel */
.GoXylo-login-form .btn-link {
    color: var(--gx-green-600);
    font-weight: 500;
    text-decoration: none;
    font-size: 0.8125rem;
}

.GoXylo-login-form .btn-link:hover {
    color: var(--gx-green-400);
}

/* Superuser button — hidden from consumers */
.GoXylo-superuser-btn {
    display: none !important;
}

/* Hide Odoo's "show password" toggle inside GoXylo form */
.GoXylo-login-form .o_show_password,
.goxylo-hide {
    display: none !important;
}

/* When the show-password button is hidden, remove the input-group border behavior */
.GoXylo-login-form .input-group .form-control {
    border-radius: var(--gx-radius-sm) !important;
}

/* ============================= LOGIN BUTTONS AREA ============================= */
.GoXylo-login-form .oe_login_buttons {
    margin: 0;
    padding: 0;
    padding-top: 8px !important;
}

/* Hide the auth_signup "Don't have an account?" link — we have our own */
.GoXylo-login-form .oe_login_buttons .btn-link[href*="signup"] {
    display: none !important;
}

/* Hide the auth_signup "Reset Password" link next to label — we have "Forgot?" link */
.GoXylo-login-form .o_caps_lock_warning > .d-flex > .btn-link[href*="reset_password"],
.GoXylo-login-form .label-row + .btn-link[href*="reset_password"] {
    display: none !important;
}

/* Also hide it when auth_signup places it after the password label directly */
.GoXylo-login-form label[for="password"] + .btn-link[href*="reset_password"] {
    display: none !important;
}

/* Hide the o_login_auth div (OAuth providers) unless it has children */
.GoXylo-login-form .o_login_auth:empty {
    display: none;
}

/* ============================= SIGNUP PROMPT ============================= */
.signup-prompt {
    text-align: center;
    font-size: 0.875rem;
    color: var(--gx-text-sec);
    margin-top: 24px;
}

/* Show signup prompt only on login page, hide on reset_password and signup */
.GoXylo-login-form .signup-prompt.goxylo-login-only {
    display: block;
}

/* Hide when reset_password or signup form is present */
body:has(.oe_reset_password_form) .signup-prompt.goxylo-login-only,
body:has(.oe_signup_form) .signup-prompt.goxylo-login-only {
    display: none;
}

/* Also hide when the page shows a success message (reset password confirmation) */
body:has(.oe_reset_password_form) .signup-prompt.goxylo-login-only,
body:has(.oe_signup_form) .signup-prompt.goxylo-login-only,
body:has(.GoXylo-login-form .oe_login_form[style*="display"]) .signup-prompt.goxylo-login-only {
    display: none;
}

.signup-link {
    color: var(--gx-green-600);
    font-weight: 600;
    text-decoration: none;
    margin-left: 4px;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    transition: color 0.2s ease;
}
.signup-link:hover {
    color: var(--gx-green-400);
}

.signup-arrow {
    width: 14px;
    height: 14px;
    transition: transform 0.2s var(--gx-ease);
}
.signup-link:hover .signup-arrow {
    transform: translateX(3px);
}

/* ============================= FOOTER ============================= */
.login-footer {
    margin-top: 40px;
    text-align: center;
}
.login-footer p {
    font-size: 0.75rem;
    color: var(--gx-text-mute);
    margin: 0;
    letter-spacing: 0.01em;
}

/* ============================= OWL USER SWITCH ============================= */
/* Let the user_switch component work naturally — it shows when no login is
   pre-filled and reveals the form when a user is selected. Style it to fit
   the GoXylo right panel. */
.GoXylo-login-form owl-component {
    display: block;
    width: 100%;
}

/* ============================= RESET PASSWORD & SIGNUP SPECIFIC ============================= */
/* "Back to Login" link styling for reset_password and signup */
.GoXylo-login-form .oe_reset_password_form a[href*="/web/login"],
.GoXylo-login-form .oe_signup_form a[href*="/web/login"],
.GoXylo-login-form .oe_login_form a[href*="/web/login"] {
    color: var(--gx-green-600);
    font-weight: 500;
    text-decoration: none;
    font-size: 0.875rem;
}

.GoXylo-login-form .oe_reset_password_form a[href*="/web/login"]:hover,
.GoXylo-login-form .oe_signup_form a[href*="/web/login"]:hover,
.GoXylo-login-form .oe_login_form a[href*="/web/login"]:hover {
    color: var(--gx-green-400);
}

/* Reset password success message with "Back to Login" link */
.GoXylo-login-form .oe_login_form.clearfix {
    text-align: center;
}

/* ============================= RESPONSIVE ============================= */
@media (max-width: 1024px) {
    .GoXylo-login-brand {
        padding: 48px 36px;
    }
    .brand-tagline {
        font-size: 2.25rem;
    }
}

@media (max-width: 768px) {
    .GoXylo-login-wrapper {
        flex-direction: column;
    }

    .GoXylo-login-brand {
        display: none;
    }

    .mobile-logo {
        display: block;
    }

    .GoXylo-login-form {
        padding: 32px 24px;
        min-height: 100vh;
    }

    .form-content {
        max-width: 100%;
        animation: fadeInUp 0.6s var(--gx-ease) both;
    }
}

@media (max-width: 480px) {
    .GoXylo-login-form .form-control,
    .GoXylo-login-form .GoXylo-input {
        padding: 11px 14px;
    }
    .GoXylo-btn {
        padding: 11px 20px;
    }
    .GoXylo-login-form {
        padding: 24px 20px;
    }
}

/* ============================= RESET DEFAULT ODOO STYLES ============================= */
/* Strip the default container/card styling that web.login_layout normally provides */
.GoXylo-login-form .oe_website_login_container .container,
.GoXylo-login-form .oe_website_login_container .card {
    max-width: none;
    border: none;
    background: transparent;
    box-shadow: none;
    padding: 0;
    margin: 0;
}

.GoXylo-login-form .oe_website_login_container .card-body {
    padding: 0;
}

/* Hide Odoo's "Powered by Odoo" footer and database manager link */
.GoXylo-login-form .oe_website_login_container .border-top {
    display: none !important;
}

/* Hide the default Odoo logo at the top of the login card */
.GoXylo-login-form .oe_website_login_container .border-bottom {
    display: none !important;
}
