.elementor-4979 .elementor-element.elementor-element-b4cf55d{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--overlay-opacity:0.5;}.elementor-4979 .elementor-element.elementor-element-b4cf55d:not(.elementor-motion-effects-element-type-background), .elementor-4979 .elementor-element.elementor-element-b4cf55d > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:transparent;background-image:linear-gradient(180deg, #001D4A00 27%, #2563EB00 100%);}.elementor-4979 .elementor-element.elementor-element-b4cf55d::before, .elementor-4979 .elementor-element.elementor-element-b4cf55d > .elementor-background-video-container::before, .elementor-4979 .elementor-element.elementor-element-b4cf55d > .e-con-inner > .elementor-background-video-container::before, .elementor-4979 .elementor-element.elementor-element-b4cf55d > .elementor-background-slideshow::before, .elementor-4979 .elementor-element.elementor-element-b4cf55d > .e-con-inner > .elementor-background-slideshow::before, .elementor-4979 .elementor-element.elementor-element-b4cf55d > .elementor-motion-effects-container > .elementor-motion-effects-layer::before{--background-overlay:'';}.elementor-4979 .elementor-element.elementor-element-b4cf55d.e-con{--flex-grow:0;--flex-shrink:0;}body.elementor-page-4979:not(.elementor-motion-effects-element-type-background), body.elementor-page-4979 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:transparent;background-image:linear-gradient(180deg, #000510 2%, #000000 69%);}@media(max-width:767px){.elementor-4979 .elementor-element.elementor-element-b4cf55d{--min-height:100vh;--flex-direction:column;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--justify-content:flex-start;--align-items:center;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:20px;--padding-bottom:20px;--padding-left:20px;--padding-right:20px;}.elementor-4979 .elementor-element.elementor-element-b4cf55d:not(.elementor-motion-effects-element-type-background), .elementor-4979 .elementor-element.elementor-element-b4cf55d > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:transparent;background-image:linear-gradient(180deg, #001D4A00 0%, #2563EB00 100%);}body.elementor-page-4979:not(.elementor-motion-effects-element-type-background), body.elementor-page-4979 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:transparent;background-image:linear-gradient(0deg, #000510 33%, #000000 69%);}}@media(max-width:1024px) and (min-width:768px){.elementor-4979 .elementor-element.elementor-element-b4cf55d{--width:640px;}}/* Start custom CSS *//* =========================================================
   1. SYSTEM: SAFE SCROLL & BACKGROUND FIX (PRESERVED)
========================================================= */
html, body {
    overflow-y: auto !important; overflow-x: hidden !important;
    max-width: 100% !important; overscroll-behavior-x: none !important;
}
html { background-color: #000000 !important; }
body { background: transparent !important; background-color: transparent !important; }
body::before {
    content: ""; position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: -1;
    background: linear-gradient(180deg, #396AFC 0%, #000000 80%) !important;
    background-repeat: no-repeat; background-size: cover; min-height: -webkit-fill-available;
}
footer, .elementor-location-footer, #footer, .site-footer { display: none !important; }

/* =========================================================
   2. MY GARAGE: BASE LAYOUT & PRESERVED STATES
========================================================= */
#garage-app-container {
    max-width: 1250px !important; 
    margin: 0px auto !important; 
    width: 100%; 
    /* Increased left/right padding so the cards don't touch the phone edges */
    padding: 5px 16px 20px 16px; 
    overflow-x: hidden;
}
.garage-header-row { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 0; padding: 0 5px; }
#garage-app-container .garage-main-title { color: #ffffff; font-size: 36px; font-weight: 900; margin: 0; letter-spacing: -1.5px; }
.garage-loading-state { text-align: center; padding: 100px; }
.garage-loading-icon { font-size: 30px; color: #fff; }

/* Login Card */
#garage-app-container .garage-login-card {
    max-width: 380px; 
    margin: 24px auto 60px auto; 
    background: rgba(255, 255, 255, 0.08); backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.2); border-top: 1px solid rgba(255, 255, 255, 0.5); border-left: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 24px; padding: 40px 32px; text-align: center; box-shadow: 0 20px 40px rgba(0,0,0,0.3), inset 0 0 0 1px rgba(255,255,255,0.1);
}
#garage-app-container .login-card-title { font-weight: 800; font-size: 26px; color: #ffffff; margin-bottom: 8px; text-shadow: 0 2px 4px rgba(0,0,0,0.2); }
#garage-app-container .login-card-subtitle { color: rgba(255, 255, 255, 0.85); font-size: 14px; font-weight: 500; margin-bottom: 28px; line-height: 1.5; }
#garage-app-container .login-input-field {
    width: 100%; padding: 16px 20px; margin-bottom: 24px; background: rgba(0, 0, 0, 0.2); border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px; font-size: 15px; color: #ffffff; font-weight: 500; transition: all 0.3s ease;
}
#garage-app-container .login-input-field::placeholder { color: rgba(255, 255, 255, 0.5); }
#garage-app-container .login-input-field:focus { outline: none; border-color: rgba(255, 255, 255, 0.8); background: rgba(0, 0, 0, 0.3); box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.15); }
#garage-app-container .login-submit-btn {
    background: #ffffff; border: none; border-radius: 50px; padding: 18px 32px; width: 100%; color: #0F172A;
    font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2); cursor: pointer; transition: transform 0.2s ease;
}
#garage-app-container .login-submit-btn:hover { transform: translateY(-2px); }
#garage-app-container .login-feedback-msg { margin-top: 16px; font-size: 13px; font-weight: 600; color: #ffffff !important; }

/* Empty State */
#garage-app-container .garage-empty-card { 
    text-align: center; padding: 40px 20px; max-width: 380px; 
    margin: 24px auto 60px auto; 
}
#garage-app-container .empty-card-text { 
    font-weight: 600; color: #ffffff; font-size: 16px; margin-bottom: 24px; text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
#garage-app-container .empty-search-btn { 
    display: inline-block; width: 100%; box-sizing: border-box; background: #ffffff; color: #0F172A; 
    padding: 18px 32px; border-radius: 50px; text-decoration: none; font-family: 'Inter', sans-serif; 
    font-size: 14px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; 
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2); transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); 
}
#garage-app-container .empty-search-btn:visited,
#garage-app-container .empty-search-btn:active,
#garage-app-container .empty-search-btn:focus { color: #0F172A; text-decoration: none; }
#garage-app-container .empty-search-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3); background: #F8FAFC; color: #0F172A; }

/* =========================================================
   3. LIST CONTAINER & SLEEK APPLE SIGN-OUT
========================================================= */
#view-list { margin: 24px auto 60px auto; width: 100%; }

/* Fixed: Removed the 125% stretching so it stays on screen */
#garage-list { display: flex; flex-direction: column; gap: 16px; width: 100%; }

.list-actions-top { display: flex; justify-content: flex-end; margin-bottom: 12px; padding: 0 4px; }

/* Elementor Override: Sleek iOS Text Button */
.apple-signout-btn {
    background: transparent !important; 
    border: none !important;
    box-shadow: none !important;
    color: #ffffff !important; 
    font-size: 14px; 
    font-weight: 500; 
    padding: 4px 8px;
    cursor: pointer; 
    opacity: 0.8;
    transition: all 0.2s ease;
}
.apple-signout-btn:hover { opacity: 1; color: #FF3B30 !important; }

/* =========================================================
   4. APPLE-STYLE LIST UI (AIRY, SPACIOUS, VISIBLE CORNERS)
========================================================= */
#garage-app-container .garage-row-compact {
    background: #FFFFFF; 
    border-radius: 24px; /* The rounded corners are safely back on screen */
    
    /* Increased internal padding for that lightweight white-space look */
    padding: 16px 24px;  
    
    display: flex; align-items: center; justify-content: space-between;
    min-height: 54px;    
    box-shadow: 0 8px 20px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.02); transition: transform 0.2s ease, opacity 0.3s ease;
}

/* Calendar Icon (Scaled Down) */
#garage-app-container .cal-icon {
    width: 36px; height: 36px; 
    background: #FFFFFF; border-radius: 8px;
    display: flex; flex-direction: column; overflow: hidden; 
    margin-right: 18px; /* Pushed text slightly further right for breathing room */
    flex-shrink: 0; box-shadow: 0 2px 6px rgba(0,0,0,0.08), inset 0 0 0 1px rgba(0,0,0,0.05);
}
#garage-app-container .cal-top {
    background: #FF3B30; color: #FFFFFF; font-size: 8px; font-weight: 700; 
    text-align: center; padding-top: 3px; height: 32%; text-transform: uppercase; letter-spacing: 0.5px; line-height: 1;
}
#garage-app-container .cal-day {
    height: 68%; display: flex; align-items: center; justify-content: center;
    font-size: 18px; font-weight: 400; color: #1C1C1E; line-height: 1; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Middle Text Column */
#garage-app-container .row-text-content { 
    flex-grow: 1; display: flex; flex-direction: column; gap: 2px; 
    cursor: pointer; padding-right: 12px; min-width: 0; 
}
#garage-app-container .row-reg-title { 
    font-size: 14.5px; font-weight: 700; color: #1C1C1E; line-height: 1.1; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; 
}
#garage-app-container .row-make-sub { 
    font-size: 11px; font-weight: 500; color: #8E8E93; text-transform: uppercase; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; 
}

/* Right Action Column */
/* Right Action Column (Trash Button) */
#garage-app-container .row-actions-wrap { 
    display: flex; align-items: center; justify-content: center; flex-shrink: 0; 
}

#garage-app-container .garage-delete-btn {
    background: #F2F2F7;
    color: #8E8E93;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
    font-size: 14px;
    -webkit-tap-highlight-color: transparent;
}

#garage-app-container .garage-delete-btn:active {
    background: #FF3B30;
    color: #FFFFFF;
    transform: scale(0.92);
}

/* Pending Deletion State (Fades the row when clicked) */
#garage-app-container .garage-row-compact.is-deleting {
    opacity: 0.4;
    transform: scale(0.98);
    pointer-events: none; /* Stops multiple taps */
}

/* THE FIX FOR THE STICKY RED BUTTON */
#garage-app-container .garage-row-compact.is-deleting .garage-delete-btn {
    background: #F2F2F7 !important;
    color: #8E8E93 !important;
    transform: scale(1) !important;
}

/* Overlay */
#garage-app-container #removal-overlay {
    position: fixed; bottom: 350px; left: 50%; transform: translateX(-50%);
    background: #1C1C1E; color: white; padding: 12px 20px; border-radius: 16px;
    z-index: 9999; box-shadow: 0 10px 30px rgba(0,0,0,0.3); display: none; align-items: center; gap: 16px; width: max-content;
}
#garage-app-container #removal-overlay.active { display: flex; }
#garage-app-container .ro-text { font-size: 14px; font-weight: 500; }
#garage-app-container .ro-undo-btn {
    background: #007AFF; color: #fff; border: none; padding: 8px 14px;
    border-radius: 8px; font-size: 13px; font-weight: 700; cursor: pointer; transition: opacity 0.2s ease;
}
#garage-app-container .ro-undo-btn:hover { opacity: 0.8; }/* End custom CSS */