/* StorageTrail Listings - Frontend Styles */

:root {
    --primary-color: #E67E22;
    --primary-hover: #D35400;
    --secondary-color: #1a3a52;
    --success-color: #27AE60;
    --error-color: #E74C3C;
    --text-color: #2C3E50;
    --border-color: #BDC3C7;
    --background-light: #ECF0F1;
}

/* Form Container */
.stl-listing-form-wrapper {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, sans-serif;
}

/* Beta Banner */
.stl-beta-banner {
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
    color: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 30px;
}

.stl-beta-banner h3 {
    margin: 0 0 10px 0;
    font-size: 26px;
    font-weight: 700;
    color: var(--primary-color);
}

.stl-beta-banner p {
    margin: 0;
    font-size: 16px;
    opacity: 0.95;
    color: #000;
}

/* Form */
.stl-form {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    border-top: 4px solid var(--primary-color);
}

/* Form Sections */
.stl-form-section {
    margin-bottom: 35px;
    padding-bottom: 35px;
    border-bottom: 2px solid #f0f0f0;
}

.stl-form-section:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.stl-form-section h2 {
    font-size: 22px;
    margin: 0 0 25px 0;
    color: var(--secondary-color);
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.stl-form-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
}

/* Form Groups */
.stl-form-group {
    margin-bottom: 20px;
}

.stl-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color);
    font-size: 15px;
}

.stl-form-group input[type="text"],
.stl-form-group input[type="email"],
.stl-form-group input[type="tel"],
.stl-form-group input[type="number"],
.stl-form-group textarea,
.stl-form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 16px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    font-family: inherit;
}

.stl-form-group input:focus,
.stl-form-group textarea:focus,
.stl-form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.1);
}

.stl-form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.stl-form-group small {
    display: block;
    margin-top: 6px;
    color: #7F8C8D;
    font-size: 13px;
    line-height: 1.4;
}

/* Form Rows */
.stl-form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

/* Required Mark */
.required-mark {
    color: var(--error-color);
    font-weight: bold;
}

.optional {
    color: #95A5A6;
    font-weight: normal;
    font-size: 14px;
    font-style: italic;
}

/* Checkbox Groups */
.stl-checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-top: 10px;
}

.stl-checkbox-group label {
    display: flex;
    align-items: center;
    font-weight: normal;
    padding: 8px;
    border-radius: 4px;
    transition: background 0.2s;
    cursor: pointer;
}

.stl-checkbox-group label:hover {
    background: var(--background-light);
}

.stl-checkbox-group input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

/* Terms Checkbox */
.stl-checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    padding: 15px;
    background: var(--background-light);
    border-radius: 6px;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.stl-checkbox-label:hover {
    border-color: var(--primary-color);
    background: #fff;
}

.stl-checkbox-label input[type="checkbox"] {
    margin-right: 12px;
    margin-top: 3px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    flex-shrink: 0;
    accent-color: var(--primary-color);
}

/* File Upload */
.stl-form-group input[type="file"] {
    padding: 10px;
    border: 2px dashed var(--border-color);
    border-radius: 6px;
    cursor: pointer;
    background: var(--background-light);
    transition: all 0.3s;
}

.stl-form-group input[type="file"]:hover {
    border-color: var(--primary-color);
    background: #fff;
}

/* Photo Preview */
.stl-photo-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.stl-photo-preview-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--background-light);
    transition: border-color 0.3s;
}

.stl-photo-preview-item:hover {
    border-color: var(--primary-color);
}

.stl-photo-preview img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
}

.stl-photo-preview-item .remove-photo {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(231, 76, 60, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    transition: background 0.3s;
}

.stl-photo-preview-item .remove-photo:hover {
    background: #c0392b;
}

/* Submit Button */
.stl-form-actions {
    text-align: center;
    margin-top: 30px;
}

.stl-submit-btn {
    background: var(--primary-color);
    color: white;
    padding: 16px 50px;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stl-submit-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 126, 34, 0.4);
}

.stl-submit-btn:active {
    transform: translateY(0);
}

.stl-submit-btn:disabled {
    background: #95A5A6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.stl-submit-btn.loading::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-left: 10px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

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

/* Messages */
.stl-message {
    margin-top: 25px;
    padding: 18px 25px;
    border-radius: 6px;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    animation: slideDown 0.4s ease;
}

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

.stl-message.success {
    background: #D5F4E6;
    color: #0E6F3C;
    border: 2px solid #27AE60;
}

.stl-message.error {
    background: #FADBD8;
    color: #922B21;
    border: 2px solid #E74C3C;
}

/* Validation Styles */
.stl-form-group.has-error input,
.stl-form-group.has-error textarea,
.stl-form-group.has-error select {
    border-color: var(--error-color);
}

.stl-form-group .error-message {
    color: var(--error-color);
    font-size: 13px;
    margin-top: 5px;
    display: block;
    font-weight: 500;
}

/* Loading Overlay */
.stl-loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
    background: rgba(26, 58, 82, 0.8);
    display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.stl-loading-spinner {
  width: 50px;
  height: 50px;
  border: 6px solid #f3f3f3;
  border-top: 6px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.first_spinner {
    justify-content: center;
    display: flex;
}
.stl-loading-message {
  margin-top: 20px;
  color: white;
  font-size: 16px;
  text-align: center;
  max-width: 80%;
}

/* CTA Button Styling (for site-wide button) */
.stl-list-cta-button {
    background: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(230, 126, 34, 0.3);
}

.stl-list-cta-button:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 126, 34, 0.4);
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .stl-listing-form-wrapper {
        padding: 15px;
        margin: 20px auto;
    }
    
    .stl-form {
        padding: 25px 20px;
    }
    
    .stl-form-section h2 {
        font-size: 20px;
    }
    
    .stl-form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stl-checkbox-group {
        grid-template-columns: 1fr;
    }
    
    .stl-photo-preview {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 10px;
    }
    
    .stl-photo-preview img {
        height: 100px;
    }
    
    .stl-submit-btn {
        width: 100%;
        padding: 14px 30px;
        font-size: 16px;
    }
    
    .stl-beta-banner {
        padding: 20px 15px;
    }
    
    .stl-beta-banner h3 {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .stl-form {
        padding: 20px 15px;
    }
    
    .stl-form-group input,
    .stl-form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

/* Print Styles */
@media print {
    .stl-beta-banner,
    .stl-submit-btn,
    .stl-form-actions {
        display: none;
    }
}




.thankyou_page {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(to bottom, #ffffff, #f7f4f2);
}

.thankyou_container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex: 1;
  padding: 65px;
}

.thankyou_card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  text-align: center;
  padding: 50px 40px;
  max-width: 480px;
  width: 100%;
  transition: transform 0.3s ease;
}

.thankyou_card:hover {
  transform: translateY(-4px);
}

.thankyou_icon img {
  width: 80px;
  margin-bottom: 20px;
}

.thankyou_page h1 {
  font-size: 2rem;
  color: #0B2239;
  margin-bottom: 10px;
}

.thankyou_page p {
  color: #444;
  font-size: 1rem;
  margin-bottom: 10px;
}

.thankyou_subtext {
  color: #777;
  margin-bottom: 30px;
}

.thankyou_btn {
  display: inline-block;
  background-color: #F47C26;
  color: #fff;
  text-decoration: none;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  transition: background 0.3s;
}

.thankyou_btn:hover {
  background-color: #0A1E32;
}

/* ------------------ Responsive Design ------------------ */

/* Tablets (≤ 991px) */
@media (max-width: 991px) {
  .thankyou_container {
    padding: 40px;
  }

  .thankyou_card {
    padding: 40px 30px;
  }

  .thankyou_page h1 {
    font-size: 1.75rem;
  }

  .thankyou_page p {
    font-size: 0.95rem;
  }

  .thankyou_icon img {
    width: 70px;
  }
}

/* Mobile Devices (≤ 600px) */
@media (max-width: 600px) {
  .thankyou_container {
    padding: 20px;
  }

  .thankyou_card {
    padding: 30px 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  }

  .thankyou_icon img {
    width: 60px;
    margin-bottom: 15px;
  }

  .thankyou_page h1 {
    font-size: 1.5rem;
  }

  .thankyou_page p {
    font-size: 0.9rem;
  }

  .thankyou_subtext {
    font-size: 0.85rem;
    margin-bottom: 20px;
  }

  .thankyou_btn {
    padding: 10px 22px;
    font-size: 0.9rem;
  }
}


 button.stlys-remove-option {
    width: auto !important;
    padding: 10px !important;
    border: none !important;
    border-radius: 14px !important;
    background: linear-gradient(90deg, #ff6a00, #ff8c00) !important;
}




#stl-book-step-2 .stl-rent-section  a {color:red !important;}

.stl-modal-header h2 {
    color: #e74c3c !important;
}

/* =========================================
   STORAGE TRAIL AGREEMENT SIGNING PAGE
========================================= */

.page-id-6944 #brx-content {
    background: #f7f9fb !important;
    padding: 60px 20px;
}

.page-id-6944  #brxe-diphzi {
    width: 100%;
}

.page-id-6944 #brxe-elojvj {
    max-width: 980px;
    margin: 0 auto;
}

/* Main wrapper */
.page-id-6944 .stl-sign-wrap {
    max-width: 900px !important;
    margin: 0 auto;
}

/* Main title */
.page-id-6944 .stl-sign-wrap > h2 {
    margin: 0 0 28px;
    color: #1a3a52;
    font-size: clamp(26px, 4vw, 38px);
    line-height: 1.2;
    font-weight: 700;
    text-align: center;
}

/* Agreement scroll box */
.stl-agreement-scroll {
    max-height: 620px !important;
    overflow-y: auto;
    padding: 40px !important;
    margin: 0 0 30px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8ee !important;
    border-radius: 14px !important;
    box-shadow: 0 12px 35px rgba(26, 58, 82, 0.08);
    scroll-behavior: smooth;
}

/* Custom scrollbar */
.stl-agreement-scroll::-webkit-scrollbar {
    width: 9px;
}

.stl-agreement-scroll::-webkit-scrollbar-track {
    background: #f1f4f6;
    border-radius: 10px;
}

.stl-agreement-scroll::-webkit-scrollbar-thumb {
    background: #b8c4cc;
    border-radius: 10px;
}

.stl-agreement-scroll::-webkit-scrollbar-thumb:hover {
    background: #8e9da8;
}

/* Agreement content */
.stl-agreement {
    color: #394750;
    font-size: 15px;
    line-height: 1.75;
}

/* Agreement main heading */
.stl-agreement > h1 {
    margin: 0 0 8px;
    color: #1a3a52;
    font-size: clamp(25px, 4vw, 34px);
    line-height: 1.25;
}

/* Version text */
.stl-agreement > p:first-of-type {
    margin-bottom: 32px;
    color: #7b8790 !important;
    font-size: 13px;
}

/* Section headings */
.stl-agreement h2 {
    position: relative;
    margin: 34px 0 14px;
    padding-bottom: 9px;
    color: #1a3a52;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 700;
    border-bottom: 1px solid #e5eaee;
}

.stl-agreement h2::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 48px;
    height: 3px;
    background: #e67e22;
    border-radius: 5px;
}

/* Paragraphs */
.stl-agreement p {
    margin: 0 0 14px;
}

/* Agreement tables */
.stl-agreement table {
    width: 100%;
    margin: 12px 0 24px;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border: 1px solid #e1e7eb;
    border-radius: 8px;
    background: #fff;
}

.stl-agreement table th,
.stl-agreement table td {
    padding: 13px 16px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid #edf0f2;
}

.stl-agreement table tr:last-child th,
.stl-agreement table tr:last-child td {
    border-bottom: 0;
}

.stl-agreement table th {
    width: 40%;
    color: #1a3a52;
    font-weight: 600;
    background: #f7f9fa;
}

.stl-agreement table td {
    color: #4c5961;
}

/* Signature image */
.stl-sig {
    display: inline-block;
    max-width: 180px;
    max-height: 65px;
    object-fit: contain;
    vertical-align: bottom;
}

/* Signature form */
#stl-landlord-sign-form {
    padding: 30px;
    background: #ffffff;
    border: 1px solid #e2e8ee;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(26, 58, 82, 0.07);
}

/* Checkbox */
#stl-ll-ack {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    vertical-align: middle;
    accent-color: #e67e22;
}

#stl-landlord-sign-form label:first-child {
    display: flex !important;
    align-items: flex-start;
    gap: 8px;
    color: #394750;
    font-size: 15px;
    line-height: 1.5;
}

/* Form label */
#stl-landlord-sign-form label[for="stl-ll-name"] {
    margin-top: 24px;
    color: #1a3a52;
    font-size: 15px;
}

/* Name input */
#stl-ll-name {
    width: 100% !important;
    max-width: 520px !important;
    min-height: 48px;
    padding: 12px 15px !important;
    color: #29343b;
    font-size: 16px;
    background: #fff;
    border: 1px solid #cfd8de;
    border-radius: 7px;
    outline: none;
    transition: all 0.25s ease;
}

#stl-ll-name:focus {
    border-color: #e67e22;
    box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.12);
}

/* Signature area */
#stl-landlord-sign-form span {
    color: #1a3a52;
}

#stl-ll-canvas {
    display: block;
    width: 100%;
    max-width: 520px;
    height: 160px !important;
    background:
        linear-gradient(#fff, #fff) padding-box,
        repeating-linear-gradient(
            45deg,
            #e4e9ed 0,
            #e4e9ed 1px,
            transparent 1px,
            transparent 6px
        ) border-box;
    border: 1px dashed #aebbc4 !important;
    border-radius: 8px !important;
    cursor: crosshair;
}

/* Clear button */
#stl-ll-clear {
    padding: 8px 18px;
    color: #5b6870;
    background: #f1f4f6;
    border: 1px solid #d8e0e5;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s ease;
}

#stl-ll-clear:hover {
    color: #fff;
    background: #1a3a52;
    border-color: #1a3a52;
}

/* Error message */
#stl-ll-msg {
    min-height: 22px;
    margin: 12px 0 !important;
    color: #c0392b;
    font-size: 14px;
    font-weight: 500;
}

/* Submit button */
#stl-ll-submit {
    float: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 14px 30px !important;
    color: #fff;
    background: #e67e22 !important;
    border-radius: 7px !important;
    box-shadow: 0 5px 15px rgba(230, 126, 34, 0.22);
    transition: all 0.25s ease;
}

#stl-ll-submit:hover {
    background: #cf6810 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(230, 126, 34, 0.28);
}

#stl-ll-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

/* =========================================
   MOBILE RESPONSIVE
========================================= */

@media (max-width: 767px) {

   .page-id-6944  #brx-content {
        padding: 30px 12px;
    }

    .stl-agreement-scroll {
        max-height: 520px !important;
        padding: 22px !important;
        border-radius: 10px !important;
    }

    .stl-agreement {
        font-size: 14px;
        line-height: 1.65;
    }

    .stl-agreement h2 {
        font-size: 18px;
        margin-top: 28px;
    }

    .stl-agreement table {
        display: block;
        overflow-x: auto;
    }

    .stl-agreement table th,
    .stl-agreement table td {
        min-width: 160px;
        padding: 11px 12px;
    }

    #stl-landlord-sign-form {
        padding: 22px 18px;
    }

    #stl-ll-canvas {
        height: 140px !important;
    }

    #stl-ll-submit {
        width: 100%;
    }
}



/* =====================================================================
 * STL LOGIN MODAL
 * ===================================================================== */

/* Overlay */
.stl-login-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}
.stl-login-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

/* Backdrop */
.stl-login-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 20, 35, 0.62);
    backdrop-filter: blur(3px);
    cursor: pointer;
}

/* Box */
.stl-login-modal-box {
    position: relative;
    background: #fff;
    border-radius: 20px;
    padding: 40px 36px 36px;
    width: 100%;
    max-width: 420px;
    margin: 16px;
    box-shadow: 0 24px 64px rgba(10, 20, 35, 0.22);
    transform: translateY(18px) scale(0.97);
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1;
}
.stl-login-modal.is-open .stl-login-modal-box {
    transform: translateY(0) scale(1);
}

/* Close button */
.stl-login-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    background: #f4f6f8;
    border: none;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #555;
    transition: background 0.18s, color 0.18s;
    padding: 0;
}
.stl-login-modal-close:hover { background: #ffe8db; color: #F4650D; }
.stl-login-modal-close svg  { width: 18px; height: 18px; }

/* Logo */
.stl-login-modal-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
}

/* Titles */
.stl-login-modal-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a2d40;
    margin: 0 0 6px;
    text-align: center;
}
.stl-login-modal-sub {
    font-size: 14px;
    color: #6b7585;
    margin: 0 0 22px;
    text-align: center;
}

/* Message */
.stl-login-modal-message {
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 18px;
    line-height: 1.5;
}
.stl-login-modal-message.is-error   { background: #fff0ee; color: #c0392b; border: 1px solid #f5c6c0; }
.stl-login-modal-message.is-success { background: #edfaf3; color: #1d8348; border: 1px solid #a9dfbf; }

/* Fields */
.stl-login-field {
    margin-bottom: 16px;
}
.stl-login-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #3a4a5b;
    margin-bottom: 6px;
}
.stl-login-field input[type="text"],
.stl-login-field input[type="password"],
.stl-login-field input[type="email"] {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #d4dae3;
    border-radius: 10px;
    font-size: 15px;
    color: #1a2d40;
    background: #fafbfc;
    transition: border-color 0.18s, box-shadow 0.18s;
    box-sizing: border-box;
    outline: none;
}
.stl-login-field input:focus {
    border-color: #F4650D;
    box-shadow: 0 0 0 3px rgba(244,101,13,0.12);
    background: #fff;
}

/* Password wrap */
.stl-login-pw-wrap {
    position: relative;
}
.stl-login-pw-wrap input { padding-right: 46px; }
.stl-login-pw-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%) !important;
    background: none;
    border: none;
    cursor: pointer;
    color: #8997a8;
    padding: 4px;
    display: flex;
    align-items: center;
}
.stl-login-pw-toggle:hover { color: #F4650D; }
.stl-login-pw-toggle svg  { width: 18px; height: 18px; }

/* Remember / forgot row */
.stl-login-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
    font-size: 13px;
}
.stl-login-remember {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #4a5568;
    cursor: pointer;
}
.stl-login-remember input { accent-color: #F4650D; }
.stl-login-forgot { color: #F4650D; text-decoration: none; font-weight: 500; }
.stl-login-forgot:hover { text-decoration: underline; }

/* Submit button */
.stl-login-submit-btn {
    width: 100%;
    padding: 13px 24px;
    background: linear-gradient(135deg, #F4650D 0%, #d9510b 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: opacity 0.2s, transform 0.15s;
    box-shadow: 0 4px 16px rgba(244,101,13,0.25);
    letter-spacing: 0.01em;
}
.stl-login-submit-btn:hover:not(:disabled) { opacity: 0.9; transform: translateY(-1px); }
.stl-login-submit-btn:disabled { opacity: 0.65; cursor: not-allowed; }

/* Spinner */
.stl-login-spinner { display: flex; align-items: center; }
.stl-spin {
    width: 20px; height: 20px;
    animation: stl-spin-anim 0.75s linear infinite;
}
@keyframes stl-spin-anim {
    to { transform: rotate(360deg); }
}

/* The [hidden] attribute must beat the class-level display rules above.
   A class selector outranks the UA sheet's [hidden]{display:none}, so
   .stl-login-spinner{display:flex} kept the spinner painted even while the
   element carried hidden — the spinner showed on an idle form. */
.stl-login-modal [hidden] { display: none !important; }


/* =====================================================================
 * LOGOUT CONFIRMATION MODAL
 * Reuses the .stl-login-modal overlay/box/close/title styles.
 * ===================================================================== */

.stl-confirm-actions {
    display: flex;
    gap: 12px;
    margin-top: 4px;
}
.stl-confirm-actions button {
    flex: 1 1 0;
    padding: 13px 18px;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: opacity 0.2s, transform 0.15s, background 0.18s;
}
.stl-confirm-actions button:hover:not(:disabled) { opacity: 0.9; transform: translateY(-1px); }
.stl-confirm-actions button:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }

.stl-confirm-cancel {
    background: #f4f6f8;
    color: #42506a;
    box-shadow: inset 0 0 0 1.5px #e2e8f0;
}
.stl-confirm-cancel:hover:not(:disabled) { background: #eceff3; }

.stl-confirm-yes {
    background: linear-gradient(135deg, #F4650D 0%, #d9510b 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(244,101,13,0.25);
}

@media (max-width: 420px) {
    .stl-confirm-actions { flex-direction: column; }
}


/* =====================================================================
 * LOCATION AUTOCOMPLETE DROPDOWN
 * ===================================================================== */

.stl-ac-dropdown {
    position: absolute;
    z-index: 99990;
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(10,20,35,0.14);
    list-style: none;
    margin: 0;
    padding: 6px 0;
    max-height: 260px;
    overflow-y: auto;
}
.stl-ac-dropdown li {
    padding: 10px 16px;
    font-size: 14px;
    color: #2d3748;
    cursor: pointer;
    transition: background 0.12s;
    display: flex;
    align-items: center;
    gap: 8px;
}
.stl-ac-dropdown li::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F4650D' stroke-width='2'%3E%3Cpath d='M12 21s7-5.6 7-11a7 7 0 1 0-14 0c0 5.4 7 11 7 11Z'/%3E%3Ccircle cx='12' cy='10' r='2.6'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    flex-shrink: 0;
}
.stl-ac-dropdown li:hover,
.stl-ac-dropdown li.is-highlighted,
.stl-ac-dropdown li:focus {
    background: #fff5f0;
    color: #F4650D;
    outline: none;
}


/* =====================================================================
 * DYNAMIC STATS — data-stl-stat elements
 * These sit inside the existing Bricks icon-box HTML.
 * ===================================================================== */

[data-stl-stat] {
    display: inline-block;
    font-variant-numeric: tabular-nums;
    transition: color 0.3s;
}


/* =====================================================================
 * Body scroll lock (shared with other modals)
 * ===================================================================== */
body.stl-no-scroll { overflow: hidden; }


/* =====================================================================
 * BOOKING BAR — stats headline (Nationwide Storage Marketplace style)
 * Matches Image 3: dark bar, brand name in orange, bullet-separated pills
 * ===================================================================== */

.stl-bar-stats-headline {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    color: #e8edf2;
    white-space: nowrap;
}

.stl-bar-brand {
    color: #F4650D;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.stl-bar-sep {
    color: #5a6a7a;
    font-weight: 400;
}

.stl-bar-stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.stl-bar-stat-num {
    color: #ffffff;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    font-size: 13px;
}

.stl-bar-stat-label {
    color: #c8d4df;
    font-weight: 400;
}

.stl-bar-suffix {
    color: #c8d4df;
    font-weight: 400;
    font-style: italic;
}

/* When stats headline sits alone (mode="stats"), give it breathing room */
.stl-booking-bar .stl-bar-stats-headline:only-child {
    padding: 2px 0;
}
