

/* HEADER */


.Header__navbar {
    background: transparent !important;
    box-shadow: none !important;
}
.Header__name {
    display: none !important;
}


/* HEADER */


.Header__navbar {
    background: transparent !important;
    box-shadow: none !important;
}
.Header__name {
    display: none !important;
}
/* 1. Base link styling */
.Header__tabs__link {
    position: relative !important;
    text-decoration: none !important;
    padding-bottom: 5px;
    display: inline-block;
}

/* 2. Create the underline using a pseudo-element */
.Header__tabs__link::after {
    content: '';
    position: absolute;
    width: 0; /* Starts with no width */
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #ff712d;
    transition: width 0.3s ease-in-out; /* This creates the slide effect */
}

/* 3. Hover state: Expand the width to the right */
.Header__tabs__link:hover::after {
    width: 100%;
}

/* 4. Active state: Keep the underline visible and colored */
.Header__tabsTab.Header__active .Header__tabs__link {
    color: #ff712d !important;
}

.Header__tabsTab.Header__active .Header__tabs__link::after {
    width: 100%; /* Keeps it underlined when active */
}

/* Optional: change text color on hover to match */
.Header__tabs__link:hover {
    color: #ff712d !important;
}


.Header__tabsTab, .LoginDetail__signin, .LoginDetail__signup, .CustomizeContainer__aPlus, .LocalePopup__localeTarget
 {
    color: #000000 !important;
}
.Icon__size25:hover {
    color: #ff712d !important;

}
.Header__homeContent .Header__navbar {
    /* Semi-transparent background */
    background-color: rgba(255, 255, 255, 0.1) !important;
    
    /* The core glass effect: blurs the content behind the element */
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important; /* Support for Safari */
    
    /* Subtle border to define the edge of the "glass" */
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    
    /* Optional: adds depth */
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1) !important;
}



/* 1. Base link styling for Sign In */
.LoginDetail__tabLink {
    position: relative !important;
    text-decoration: none !important;
    padding-bottom: 5px;
    display: inline-block;
    transition: color 0.3s ease;
}

/* 2. Create the sliding underline pseudo-element */
.LoginDetail__tabLink::after {
    content: '' !important;
    position: absolute !important;
    width: 0; 
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #ff712d !important;
    transition: width 0.3s ease-in-out !important; /* Slide animation */
}

/* 3. Hover state: Slide line to the right and change text color */
.LoginDetail__tabLink:hover {
    color: #ff712d !important;
}

.LoginDetail__tabLink:hover::after {
    width: 100% !important;
}

/* 4. Active state logic */
/* Note: Using common active class patterns found in Zoho/Portals */
.LoginDetail__signin.active .LoginDetail__tabLink,
.LoginDetail__signin.Header__active .LoginDetail__tabLink {
    color: #ff712d !important;
}

.LoginDetail__signin.active .LoginDetail__tabLink::after,
.LoginDetail__signin.Header__active .LoginDetail__tabLink::after {
    width: 100% !important;
}

/* 5. Clean up list item */
.LoginDetail__signin {
    list-style: none !important;
    display: inline-block !important;
    outline: none !important;
}


.Header__navbar {
        background-color: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1) !important;
}



@media only screen and (max-width: 1024px) {
    .Header__homeContent .Header__navbar, .Header__defaultContent .Header__navbar, .Header__navopen .Header__navbar .Header__menuTab {
        background-color: #fff;
    }
}










/* WELCOME TO SUPPORT */

/* Title Styling */
.Header__searchTitle {
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
  /* Adds depth and ensures visibility on lighter backgrounds */
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Description Styling */
.Header__description {
  font-family: 'Segoe UI', Roboto, sans-serif;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9); /* Slightly transparent white for hierarchy */
  line-height: 1.6;
  font-weight: 400;
  max-width: 700px;
  margin-top: 0;
  font-style: italic;
}

/* Optional: Smooth entry animation */
.Header__searchTitle, 
.Header__description {
  animation: fadeIn 0.8s ease-out forwards;
}

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




/* SEARCH BAR */


/* 1. Main Search Container (The Pill Shape) */
.SearchContainer__globalSearch {
    display: flex !important;
    align-items: center !important;
    background-color: #ffffff !important;
    border: 1px solid #ff712d !important; /* Brand Orange */
    border-radius: 50px !important;
    padding: 2px 2px 2px 20px !important; /* Space for text on left, tight on right for button */
    max-width: 600px !important;
    margin: 0 auto !important;
    height: 48px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
    position: relative !important; /* Essential for dropdown positioning */
    transition: box-shadow 0.3s ease !important;
}

.SearchContainer__globalSearch:focus-within {
    box-shadow: 0 4px 20px rgba(255, 113, 45, 0.15) !important;
}

/* 2. Input Field Area */
.SearchContainer__formGroup {
    flex: 1 !important;
    display: flex !important;
    align-items: center !important;
}

.Input__headerSearch {
    background: transparent !important;
    border: none !important;
    outline: none !important;
    font-size: 15px !important;
    color: #333333 !important;
    width: 100% !important;
    font-family: inherit !important;
}

.Input__headerSearch::placeholder {
    color: #999 !important;
}

/* 3. Filter Dropdown Trigger (Center section) */
.SearchContainer__moduleChangePopup {
    display: flex !important;
    align-items: center !important;
    padding: 0 15px !important;
    border-left: 1px solid #eeeeee !important;
    height: 24px !important; /* Vertical separator line height */
    cursor: pointer !important;
    white-space: nowrap !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #666666 !important;
    position: relative !important;
}

.SearchContainer__moduleChangePopup:hover {
    color: #ff712d !important;
}

/* Fix for the Dropdown Arrow Icon */
.SearchContainer__downArrow {
    display: inline-block !important;
    margin-left: 8px !important;
    width: 0 !important; 
    height: 0 !important; 
    border-left: 5px solid transparent !important;
    border-right: 5px solid transparent !important;
    border-top: 5px solid #666 !important; /* Creates a clean triangle */
    vertical-align: middle !important;
}

/* 4. The Circular Search Button (Right section) */
.SearchContainer__searchIcon {
    background-color: #ff712d !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    border-radius: 50% !important; /* Perfect circle */
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    cursor: pointer !important;
    transition: background 0.2s ease !important;
    margin-left: 5px !important;
}

.SearchContainer__searchIcon:hover {
    background-color: #e6601f !important;
}

.SearchContainer__searchIcon svg {
    width: 18px !important;
    height: 18px !important;
    fill: #ffffff !important;
}

/* 5. The Search Filter Popup Menu */
.SearchContainer__searchFilter {
    position: absolute !important;
    top: calc(100% + 10px) !important; /* Floats 10px below the bar */
    right: 50px !important; /* Aligns roughly under the filter text */
    background: #ffffff !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
    border: 1px solid #eeeeee !important;
    min-width: 180px !important;
    z-index: 1001 !important;
    padding: 8px 0 !important;
    list-style: none !important;
    margin: 0 !important;
    overflow: hidden !important;
}

/* Individual list items in dropdown */
.SearchContainer__searchModule {
    padding: 10px 20px !important;
    font-size: 14px !important;
    color: #444444 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.SearchContainer__searchModule:hover {
    background-color: #fff5f0 !important; /* Soft orange background */
    color: #ff712d !important;
}

/* Current selection in dropdown */
.SearchContainer__selected {
    background-color: #fff5f0 !important;
    color: #ff712d !important;
    font-weight: 600 !important;
}

/* Common resets for the parent components */
.commonStyle__borderNone { border: none !important; }
.commonStyle__outlineNone { outline: none !important; }



/* Target the orange search button */
.SearchContainer__searchIcon {
  display: inline-flex !important;    /* Use flexbox for perfect centering */
  align-items: center !important;     /* Vertical center */
  justify-content: center !important;  /* Horizontal center */
  background-color: #ff712d !important;
  width: 44px !important;              /* Matches the circle height */
  height: 44px !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  padding: 0 !important;               /* Remove any padding that shifts the icon */
  margin: 0 !important;
  transition: background-color 0.2s ease !important;
}

/* Target the magnifying glass SVG inside */
.SearchContainer__searchIcon svg {
  width: 20px !important;             /* Increased size for better visibility */
  height: 20px !important;
  fill: #ffffff !important;           /* Pure white icon */
  margin: 0 !important;               /* Remove any system margins */
  position: static !important;        /* Remove relative positioning that causes shifts */
}

/* Subtle hover effect */
.SearchContainer__searchIcon:hover {
  background-color: #e6601f !important;
}


/* 1. The Trigger Container (Where the arrow lives) */
.SearchContainer__moduleChangePopup {
  display: flex !important;
  align-items: center !important;
  padding: 0 15px !important;
  border-left: 1px solid #eeeeee !important;
  cursor: pointer !important;
  position: relative !important; /* Context for the absolute dropdown */
  height: 24px !important;
}

/* 2. Fix the Arrow Icon (Triangle look) */
.SearchContainer__downArrow {
  display: inline-block !important;
  width: 0 !important;
  height: 0 !important;
  border-left: 5px solid transparent !important;
  border-right: 5px solid transparent !important;
  border-top: 5px solid #666666 !important;
  margin-left: 8px !important;
  vertical-align: middle !important;
}

/* 3. The Dropdown Menu (The Floating Box) */
.SearchContainer__searchFilter {
  position: absolute !important;
  top: 45px !important;      /* Moves it exactly below the bar */
  left: 50% !important;
  transform: translateX(-50%) !important; /* Centers it under the arrow */
  background-color: #ffffff !important;
  border-radius: 10px !important;
  border: 1px solid #eeeeee !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
  min-width: 180px !important;
  padding: 8px 0 !important;
  list-style: none !important;
  z-index: 9999 !important;
  overflow: hidden !important;
}

/* 4. Individual Menu Items */
.SearchContainer__searchModule {
  padding: 12px 20px !important;
  font-size: 14px !important;
  color: #333333 !important;
  text-align: left !important;
  transition: all 0.2s ease !important;
  display: block !important;
}

/* Hover Effect */
.SearchContainer__searchModule:hover {
  background-color: #fff5f0 !important; /* Soft brand orange tint */
  color: #ff712d !important;
}

/* Selected State (The active one) */
.SearchContainer__selected {
  background-color: #fff5f0 !important;
  color: #ff712d !important;
  font-weight: 600 !important;
}

/* Remove any system bullets */
.commonStyle__listStyleNone { list-style: none !important; }

.Header__globalSearchAlt
 {
    border: none !important;
 }

.Header__homeContent .Header__globalSearch input[role=search]
 {
    width: 210% !important;
}

.Header__homeContent .Header__searchSection {
    display: block;
    padding: 9.50rem 0  !important;
}





/* HOME BODY SECTION - UPDATED */

/* 1. LAYOUT & SPACING */
#layoutContainer {
    max-width: 1100px !important;
    padding: 40px 20px !important;
    margin: 0 auto !important;
}

/* 2. TOP MODULE CARDS CONTAINER (Knowledge Base & Tickets) */
/* Force the container to be horizontal regardless of portal defaults */
.WidgetContainer__contentList .ModuleCont__moduleCont > div:last-child,
.AppContainer__homePage .WidgetContainer__contentList:first-child > div {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: stretch !important; 
    gap: 40px !important; 
    margin-bottom: 50px !important;
    width: 100% !important;
}

/* Ensure the wrapper IDs are allowed to sit side-by-side */
#kb_module, #ticket_module {
    flex: 1 1 0 !important;
    display: flex !important;
    margin: 0 !important;
    min-width: 0 !important;
    height: auto !important;
}

/* 3. INDIVIDUAL CARD STYLING */
.ContentBox__boxThree {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    padding: 40px 30px !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05) !important;
    transition: all 0.3s ease !important;
    
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    text-align: center !important;
}

.ContentBox__boxThree:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1) !important;
    border-color: #ff712d !important;
}

.ContentBox__headerMid {
    margin-top: 15px !important;
}

.ContentBox__headerMid a {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    text-decoration: none !important;
}

.ContentBox__boxThree p {
    color: #64748b !important;
    font-size: 14px !important;
    line-height: 1.6;
    margin-top: 10px;
}

/* 4. POPULAR ARTICLES SECTION */
.popularAricles {
    background: #f8fafc !important;
    border-radius: 20px !important;
    padding: 40px !important;
    border: 1px solid #e2e8f0 !important;
    margin-top: 20px !important;
    clear: both !important; /* Ensures it starts after the flex cards */
}

.ListHeader__listHeader2 {
    margin-bottom: 25px !important;
    border-bottom: 2px solid #ff712d;
    display: inline-flex !important;
    padding-bottom: 8px;
}

.ListHeader__header2 {
    font-size: 22px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modulesname {
    color: #ff712d !important;
}

/* 5. ARTICLE LIST STYLING */
.ContentList__topicList {
    padding: 12px 15px !important;
    margin-bottom: 8px !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    border: 1px solid transparent !important;
    transition: all 0.2s ease !important;
    display: flex !important;
    align-items: center !important;
}

.ContentList__topicList:hover {
    border-color: #ff712d !important;
    padding-left: 25px !important;
    background: #fffafa !important;
}

.ContentList__listLink {
    color: #334155 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
}

.ContentList__topicList:hover .ContentList__listLink {
    color: #ff712d !important;
}

.ContentList__documentIcon svg {
    fill: #94a3b8 !important;
    margin-right: 12px !important;
}

.ContentList__topicList:hover svg {
    fill: #ff712d !important;
}

/* 6. RESPONSIVE FIX (Stacking for Mobile) */
@media (max-width: 800px) {
    .WidgetContainer__contentList .ModuleCont__moduleCont > div:last-child,
    .AppContainer__homePage .WidgetContainer__contentList:first-child > div {
        flex-direction: column !important;
        align-items: center !important;
        gap: 20px !important;
    }
    
    #kb_module, #ticket_module {
        width: 100% !important;
        max-width: 100% !important;
    }

    .popularAricles {
        padding: 20px !important;
    }
}




/* FOOTER TICKET */


/* UPDATED SUBMIT TICKET SECTION */

/* 1. Main Background Section */
.Footer__footerBg {
    background-color: #f9fafb !important;
    padding: 40px 20px !important;
    border-top: 1px solid #eeeeee !important;
}

.Footer__container1 {
    max-width: 800px !important;
    margin: 0 auto !important;
}

/* 2. Flex Layout for Info and Button */
.Footer__footerInfo {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    text-align: left !important;
}

/* 3. Text Styling */
.Footer__footerQus {
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    display: block !important;
    margin-bottom: 8px !important;
    font-family: 'Segoe UI', Roboto, sans-serif !important;
}

.Footer__footerDescription {
    font-size: 16px !important;
    color: #666666 !important;
}

/* 4. UPDATED: Minimalist "Ghost" Button Style */
.Button__footerBtn {
    background-color: transparent !important;
    background: transparent !important;
    color: #ff712d !important;
    border: 1px solid #ff712d !important;
    padding: 12px 32px !important;
    border-radius: 50px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    outline: none !important;
    /* Removed heavy shadow for a cleaner look */
    box-shadow: none !important; 
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Hover Effect: Fills in the button */
.Button__footerBtn:hover {
    background-color: #ff712d !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 15px rgba(255, 113, 45, 0.2) !important;
}

/* 5. Mobile Responsiveness */
@media (max-width: 768px) {
    .Footer__footerInfo {
        flex-direction: column !important;
        text-align: center !important;
        gap: 30px !important;
    }
    
    .Footer__footerQus {
        font-size: 24px !important;
    }
}



/* SEARCH BAR breadCrumbs*/



/* 1. Background and Container Polish */
.AppContainer__breadCrumbs {
    background-color: #f9fafb  !important; /* Pure white background */
    border-bottom: 1px solid #edf2f7 !important; /* Subtle separator */
    padding: 12px 0 !important;
}

.AppContainer__container {
    display: flex !important;
    align-items: center !important; /* Ensures vertical alignment between text and search */
    max-width: 1200px !important; /* Adjust based on your layout width */
}

/* 2. Breadcrumb Styling */
.BreadCrumbs__breadcrumbsView ul {
    display: flex !important;
    align-items: center !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.BreadCrumbs__breadCrumbsLink {
    color: #64748b !important; /* Soft Slate gray */
    font-size: 14px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.BreadCrumbs__breadCrumbsLink:hover {
    color: #e46317 !important; /* Your brand orange on hover */
}

/* Style for the "/" separators (if added by Zoho via CSS) */
.BreadCrumbs__breadcrumbsView li:not(:last-child):after {
    content: "/" !important;
    margin: 0 12px !important;
    color: #cbd5e1 !important;
    font-size: 13px !important;
}

/* 3. Search Bar Improvement */
.SearchContainer__searchBox {
    max-width: 350px !important; /* Prevents the search bar from being too long */
    background: #f8fafc !important; /* Very light gray background */
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
    padding: 4px 12px !important;
    transition: all 0.3s ease !important;
}

/* Search bar focus state */
.SearchContainer__searchBox:focus-within {
    background: #ffffff !important;
    border-color: #e46317 !important;
    box-shadow: 0 0 0 3px rgba(228, 99, 23, 0.1) !important;
}

.Input__searchBox {
    background: transparent !important;
    font-size: 14px !important;
    height: 32px !important;
    color: #1e293b !important;
}

.Input__searchBox::placeholder {
    color: #94a3b8 !important;
}

/* 4. Search Icon Alignment */
.SearchContainer__searchBoxIcon {
    right: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}

.SearchContainer__searchBoxIcon svg {
    fill: #e46317 !important; /* Make search icon your brand orange */
    width: 16px !important;
    height: 16px !important;
}


input[data-id="searchInput"].Input__searchBox {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    font-size: 15px !important;
    padding: 8px 0 !important;
    color: #1e293b !important;
}





/* Hides the Popular Articles section on the Home Page */
.AppContainer__homePage .popularAricles {
    display: none !important;
}






/* KNOWLEDGE BASE PAGE */








































/* SIGN UP PAGE */


/* SIGN UP REMOVE ALL */


/* Targets the breadcrumb bar only when it contains the signup unique ID */
.AppContainer__breadCrumbs:has([data-id="breadcrumb_signup"]) {
    display: none !important;
}

/* Hides the footer "Submit a ticket" bar only on the Sign Up page */
body:has([data-id="breadcrumb_signup"]) .Footer__footerBg {
    display: none !important;
}

.AppContainer__breadCrumbs:has([data-id="breadcrumb_signin"]) {
    display: none !important;
}

/* Hides the footer "Submit a ticket" bar only on the Sign Up page */
body:has([data-id="breadcrumb_signin"]) .Footer__footerBg {
    display: none !important;
}

/* Hides the Back to Top button specifically on the Sign Up page */
body:has([data-id="fullName"]) [data-id="toparrow"],
.UserContainer__logInMainContainer ~ [data-id="toparrow"],
.UserContainer__logInMainContainer ~ .AppContainer__backToTop {
    display: none !important;
}

/* SIGN UP PAGE */




/* --- 1. MAIN CONTAINER LAYOUT --- */
.UserContainer__logInMainContainer {
    display: flex !important;
    flex-direction: row !important;
    width: 90% !important;
    max-width: 1000px !important; /* Shrunk for a professional look */
    margin: 0px auto !important;
    background: #ffffff !important;
    border-radius: 40px !important;
    overflow: hidden !important;
    min-height: 600px !important; /* Minimum height to fit content */
    position: relative !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1) !important;
    /* REMOVED: max-height: 100px which was causing the overlap */
}

/* --- 2. LEFT SIDE: FORM SECTION --- */
.UserContainer__innerContainer1 {
    flex: 0 0 420px !important; /* Fixed width side for form */
    padding: 40px 50px 120px 50px !important; /* Padding adjusted for bottom links */
    display: flex !important;
    flex-direction: column !important;
    background: #fff !important;
    position: relative !important;
}

/* --- 3. RIGHT SIDE: IMAGE SECTION --- */
.UserContainer__innerContainer2 {
    flex: 1 !important;
    background-image: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&w=1600&q=80') !important;
    background-size: cover !important;
    background-position: center !important;
    margin: 15px !important;
    border-radius: 30px !important;
}

/* --- 4. INPUT FIELDS & LABELS --- */
.Form__formElement, .FormElement__formElementvertical {
    width: 100% !important;
    margin-bottom: 15px !important;
}

.Input__formInput, .Input__captcha {
    background-color: #f4f7f9 !important;
    border-radius: 50px !important;
    height: 46px !important; /* Professional height */
    padding: 0 24px !important;
    border: 1px solid transparent !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.Input__formInput:focus {
    border-color: #ff712d !important;
    background-color: #fff !important;
}

.FormElement__labelStyle {
    font-weight: 700 !important;
    color: #18181b !important;
    margin-bottom: 6px !important;
    font-size: 13px !important;
}

/* --- 5. BUTTON STYLING --- */
.Signin__submitForm {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important; /* Button takes full form width */
    margin-top: 10px !important;
    /* REMOVED: height: 15% and align-items center which caused stacking issues */
}

button[data-id="signup_save"], 
button[data-id="signup_cancel"] {
    width: 100% !important;
    height: 48px !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    border: none !important;
}

button[data-id="signup_save"] {
    background-color: #ffffff !important;
    border: 1px solid #ff712d !important;
    color: #ff712d !important;
}

button[data-id="signup_cancel"] {
    background-color: #f4f7f9 !important;
    color: #94a3b8 !important;
}

button[data-id="signup_cancel"]:hover {
    background-color: #ff712d !important;
    color: #ffffff !important;
}

button[data-id="signup_save"]:hover {
    background-color: #ff712d !important;
    color: #fff !important;
}

/* --- 6. BOTTOM LINKS --- */
.UserContainer__innerContainer2 > div {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    position: absolute !important;
    bottom: 40px !important; 
    left: 15px !important;
    width: calc(420px - 100px) !important;
    z-index: 100 !important;
    gap: 20px !important; 
}

.Signin__membersignin, .Signin__agentlogin {
    display: flex !important;
    width: auto !important;
}

.Signin__userHeader {
    font-size: 12px !important;
    color: #334155 !important;
    white-space: nowrap !important;
}

.Signin__userLink {
    color: #ff712d !important;
    font-weight: 700 !important;
}

/* Cleanup */
.Signin__userDesc, .Signin__loginUserIcon { display: none !important; }
.Signin__loginTitle { font-size: 1.6rem !important; font-weight: 800 !important; }
.Captcha__captcha { border: 0 !important; gap: 10px !important; }
.Captcha__captchaText { border: 0 !important; padding: 0 !important; }

/* --- 7. RESPONSIVE FIX --- */
@media (max-width: 900px) {
    .UserContainer__logInMainContainer {
        flex-direction: column !important;
        width: 100% !important;
        margin: 0 !important;
        border-radius: 0 !important;
        min-height: 100vh !important;
    }
    .UserContainer__innerContainer1 {
        flex: 1 1 auto !important;
        width: 100% !important;
        padding: 40px 25px !important; 
    }
    .UserContainer__innerContainer2 {
        display: block !important;
        background-image: none !important;
        margin: 0 !important;
        padding: 0 25px 40px 25px !important;
        background: #fff !important;
    }
    .UserContainer__innerContainer2 > div {
        position: relative !important;
        flex-direction: column !important;
        bottom: auto !important;
        left: auto !important;
        width: 100% !important;
        gap: 10px !important;
    }
}

/* Individual link group styling */
.Signin__membersignin, 
.Signin__agentlogin {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important; /* Crucial: stops blocks from taking full width */
}

/* Text styling */
.Signin__userHeader {
    font-size: 13px !important;
    color: #334155 !important; /* Darker grey for better readability */
    white-space: nowrap !important;
}

/* Link styling */
.Signin__userLink {
    color: #ff712d !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    margin-left: 6px !important; /* Space between question and link */
}

.Signin__loginSubTitle
 {
    color: var(--color-greyShade95);
    font-size: .8125rem;
    margin: .1rem 0 .25rem !important;
}






/* Clean up unnecessary portal elements */
.Signin__userDesc, 
.Signin__loginUserIcon {
    display: none !important;
}
.Signin__loginHalf {
    border-bottom: none !important;
}


.Captcha__captcha {
    border: 0px solid var(--color-border) !important;
}
.Captcha__captchaText
 {
    border-right: 0px solid var(--color-border) !important;
}
.Signin__loginTitle
 {
    font-size: 1.70rem  !important;
}


.TermsAndPolicy__termsLabel{
    font-size: 13px !important;
}

.CheckBox__checkbox {
    width: 1rem !important;
    height: 1rem !important;
}




/* --- 7. RESPONSIVE FIX (Mobile & Tablet) --- */
@media (max-width: 900px) {
    /* Reset Main Container to stack vertically */
    .UserContainer__logInMainContainer {
        flex-direction: column !important;
        width: 100% !important;
        margin: 0 !important;
        border-radius: 0 !important;
        min-height: 100vh !important;
        box-shadow: none !important;
    }

    /* Adjust Form Side */
    .UserContainer__innerContainer1 {
        flex: 1 1 auto !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0px 25px 40px 25px !important; 
    }

    /* SHOW the container that holds the links, but HIDE the background image */
    .UserContainer__innerContainer2 {
        display: block !important; /* Changed from none to block */
        background-image: none !important; /* Remove image on mobile */
        margin: 0 !important;
        padding: 0 25px 40px 25px !important; /* Padding for the links */
        flex: 0 0 auto !important;
        background: #fff !important; /* Ensure background stays white */
    }

    /* Reset the absolute positioning of the links so they flow normally */
    .UserContainer__innerContainer2 > div {
        position: relative !important;
        display: flex !important;
        flex-direction: column !important; /* Stack links vertically on narrow screens */
        align-items: flex-start !important;
        bottom: auto !important;
        left: auto !important;
        width: 100% !important;
        gap: 15px !important;
        z-index: 100 !important;
        visibility: visible !important;
    }

    /* Individual link group spacing for mobile */
    .Signin__membersignin, 
    .Signin__agentlogin {
        margin-right: 0 !important;
        margin-bottom: 5px !important;
    }

    /* Fix Captcha for narrow screens */
    .Captcha__captcha {
        flex-wrap: wrap !important;
        gap: 10px !important;
    }

    .Captcha__captchaText {
        width: 100% !important;
        text-align: left;
    }

    .Captcha__captchaEnter {
        width: 100% !important;
    }
}



/* --- 6. SIGN-IN PAGE ONLY: BOTTOM LINKS (2-ROW LAYOUT) --- */

/* Target only when the Sign In container is active */
.UserContainer__logInMainContainer:has(#newUser) .UserContainer__innerContainer2 > div {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important; 
    align-items: center !important;
    justify-content: flex-start !important;
    
    position: absolute !important;
    bottom: 30px !important; 
    left: 50px !important;
    
    width: 400px !important; 
    z-index: 100 !important;
    gap: 12px 35px !important; /* 12px vertical gap, 35px horizontal gap */
}

/* Force "Are you an Agent?" to the second line on Sign In page */
.UserContainer__logInMainContainer:has(#newUser) .Signin__agentlogin {
    flex: 0 0 100% !important; 
    margin-top: 8px !important;
    order: 3 !important; 
}

/* Top Row items for Sign In page */
.UserContainer__logInMainContainer:has(#newUser) .Signin__newuser {
    order: 1 !important;
    flex: 0 0 auto !important;
}

.UserContainer__logInMainContainer:has(#newUser) .Signin__forgotpassword {
    order: 2 !important;
    flex: 0 0 auto !important;
}

/* Common Link Styling (Shared, but targeted for Sign In context) */
.UserContainer__logInMainContainer:has(#newUser) .Signin__userHeader {
    font-size: 12px !important;
    color: #334155 !important;
    white-space: nowrap !important;
}

.UserContainer__logInMainContainer:has(#newUser) .Signin__userLink {
    color: #ff712d !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    margin-left: 4px !important;
}

/* Hide descriptions/icons on Sign In page */
.UserContainer__logInMainContainer:has(#newUser) .Signin__userDesc, 
.UserContainer__logInMainContainer:has(#newUser) .Signin__loginUserIcon {
    display: none !important;
}



/* --- FORGOT PASSWORD PAGE ONLY: BOTTOM LINKS --- */

/* 1. MASTER CONTAINER POSITIONING */
/* This moves the links from the image side to the bottom-left white space */
.UserContainer__innerContainer2 > div:has(.ForgetPasswordContainer__newuser) {
    display: flex !important;
    flex-direction: row !important; /* Horizontal layout */
    align-items: center !important;
    justify-content: flex-start !important;
    
    position: absolute !important;
    bottom: 35px !important; 
    left: 50px !important;
    width: 380px !important; 
    z-index: 100 !important;
    gap: 40px !important; /* Spacing between "New User" and "Agent" */
}

/* 2. INDIVIDUAL LINK BLOCK STYLING */
.ForgetPasswordContainer__newuser, 
.ForgetPasswordContainer__agentlogin {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    background: transparent !important;
    border: none !important; /* Removes default portal lines */
}

/* 3. TYPOGRAPHY & LINK COLOR */
.ForgetPasswordContainer__userHeader {
    font-size: 12px !important;
    color: #334155 !important;
    white-space: nowrap !important;
}

.ForgetPasswordContainer__userLink {
    color: #ff712d !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    margin-left: 4px !important;
}

/* 4. CLEANUP: HIDE ICONS AND DESCRIPTIONS */
.ForgetPasswordContainer__userDesc, 
.ForgetPasswordContainer__loginUserIcon {
    display: none !important;
}

/* Overriding default table display behavior */
.ForgetPasswordContainer__loginHalf.commonStyle__displayTable {
    display: flex !important;
}

/* 5. RESPONSIVE FIX (Mobile) */
@media (max-width: 900px) {
    .UserContainer__innerContainer2 > div:has(.ForgetPasswordContainer__newuser) {
        position: static !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
        padding: 20px 0 !important;
        width: 100% !important;
    }
}
