/* buttons */

.btn-primary, .scanner-link{
    background-color: #E8F45F !important;
    color: #1E1E1E !important;
    border: none !important;
}

.show-qr-button{
    background-color: #D2F4F0 !important; /* teal-tinted, distinct from scanner yellow */
    color: #1E1E1E !important;
    border: none !important;
}

.show-qr-button:hover{
    background-color: #BFEDEA !important;
}

.btn-secondary, .btn-small, .edit-link {
    background-color: #F3F6F7 !important;
    border: 1px solid  #1E1E1E !important;color: #1E1E1E !important;
    transition: all 0.2s ease-in-out;
}
.btn-secondary:hover, .btn-small:hover, .edit-link:hover{
    background-color: #E7ECEE !important;
    border: 1px solid  #1E1E1E !important;color: #1E1E1E !important;
    transition: all 0.2s ease-in-out;
}

.btn-danger {
    background-color: #f44336 !important;
    border: 1px solid #f44336 !important;
    color: #fff !important;
}
.btn-danger:hover {
    background-color: #d32f2f !important;
    border: 1px solid #d32f2f !important;
    color: #fff !important;
}


.btn-secondary.btn-small {
    padding: 5px 10px !important    ;
    font-size: 14px !important;
    font-weight: 500 !important;
}


.back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.back-button:hover {
    background: #e9ecef;
    color: var(--primary-color);
}

.button-primary-dark{
    background: var(--primary-color) !important;
    color: white !important;
}

h3 {
    font-size: 1.5rem !important;
    font-weight: 500;
    color: var(--primary-color);
}


/* carousel */
.vertical-carousel {
    width: 100%;              /* fill its parent */
    max-width: 500px;         /* optional cap */
    margin: 0 auto;           /* center on page */
    overflow: hidden;         /* hide non-active slides */
    position: relative;
    transition: height 0.6s ease-in-out;  /* animate container height */
    height: auto !important;
  }
  
  .slides {
    display: flex;
    flex-direction: column;
    transition: transform 0.6s ease-in-out; /* animate slide position */
  }
  
  .slide {
    width: 100%;              /* full width */
    /* no fixed height here! */
    display: flex;
    flex-direction: column;
  }
  
  .slide-content {
    max-width: 500px !important;
    /* if you still want internal scroll when content is extremely long, re-enable: */
    /* overflow-y: auto; */
  }
  

  .slides {

    flex-direction: row;               /* ← was column */

  }
  
  .slide {
    flex: 0 0 100%;                    /* each slide takes 100% of carousel’s width */
    width: 100%;
    /* height is still auto (you’re sizing via JS) */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }


  .slide-controls {
    /* padding: 0.5rem 0rem; */
    display: flex;
    justify-content: space-between;
   
  }
  .slide-controls button.prev {
    padding: 0.4rem 0.8rem;
    background:transparent;
    color: black;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }

  .slide-controls button.next {
    width: 100%;
  }

  .slide-controls button.next:hover {
    color: white;
    background-color: black;
    border-color: var(--bs-btn-hover-border-color);
}

  .slide-controls button {
    padding: 0.4rem 0.8rem;
    background: #111;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;

  }
  .slide-controls button:disabled {
    opacity: 0.5;
    cursor: default;
  }


  .firebaseui-idp-button[data-provider-id="google.com"] {
    background-color: #000 !important;
    border-color:     #000 !important;
    border-radius: 3px !important;
  }

  /* force the label text to white */
  .firebaseui-idp-button[data-provider-id="google.com"]
    .firebaseui-idp-text {
    color: #fff !important;
  }

  .firebaseui-idp-icon-wrapper, .firebaseui-idp-text-long {
    display: inline !important;
  }

    /* if your icon still has dark parts, invert it */
  .firebaseui-idp-button[data-provider-id="google.com"]
    .firebaseui-idp-icon {
    filter: brightness(0) invert(1) !important;
  }

  .firebaseui-container {
  max-width: 100% !important;
  }
  .firebaseui-card-content {
    padding: 0 !important;
  }
  .firebaseui-idp-button, .firebaseui-tenant-button 
  {
    max-width: 500px !important;
    width: 100% !important;
    text-align: center !important;
    direction:initial !important;
}

.hidden {
    display: none !important;
}

  .btn {
    padding: 0.4rem 0.8rem;
    border: none;
    border-radius: 4px;
    background: #111;
    color: #fff;
    cursor: pointer;
    font-size: 0.9rem;
  }
  
  .btn:disabled {
    opacity: 0.5;
    cursor: default;
  }




  


.button-primary-dark:hover{
    background: black !important;
    color: white !important;
}

.bg-video {
        position: absolute;
        right: 0;
        bottom: 0;
        min-width: 100%;
        min-height: 100%;

}


.pill {
    padding: 0.2rem 0.5rem;
    border-radius: 2.25rem;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    background-color: #EBF0EF;
    display: inline-flex;
    align-items: baseline;
    column-gap: 5px;
}
.status-dot.status-active {
border: 1px solid var(--primary-color);
background: var(--primary-light-color);
border-radius: 20px;
height: 16px;
width: 16px;
display: flex;
/* margin-top: 8px; */
/* line-height: 50px; */
/* float: left; */
align-self: center;
}

.card-details-section, .edit-form-container, .card-type-section {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
    border: 1px solid #e5e7eb;
}
.header-left {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.header-title h1 {
    margin: 0;
    font-size: 1.8rem;
    color: var(--text-primary);
}

/* .edit-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.4rem;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    color: #212529;
    font-size:0.9rem;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
} */




.edit-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.22rem 0.4rem;
    border-radius: 4px;
    color: #212529;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    background-color: transparent !important;
    border:0 !important;
    border-bottom: 2px solid #E4EBCE !important;

}

.edit-link:hover {
    color: #0d6efd;
    background-color: #F6FCE5 !important;
    border:0 !important;
    border-bottom: 1px solid #E4EBCE !important;
}

.edit-link i {
    font-size: 1.1rem;
    background-color: #E8F45F !important;
}

.edit-link span {
    font-size: 0.9rem;
    font-weight: 500;
}



.right-sidebar{
    border-left: 1px solid #e5e7eb;
    height: 100%;
    width: 100%;
}


.navigation-sidebar{
    border-right: 1px solid #E3E3E3;
    max-width: 250px !important;

}

.separator{border-bottom: 1px solid #E3E3E3; 
    height: 1px;
    width: 100%;
    margin-bottom: 10px;}

/* reset margin and paddings */
.customer-dashboard{
    margin: 0;
    padding: 0;
}

.nav-pills .nav-link.active {
font-weight: 600;
background-color: transparent !important;
}

/* On larger screens, transform the offcanvas to a static sidebar */
@media (min-width: 768px) {
    .offcanvas {
      position: static;
      transform: none;
      width: 250px;
      height: 100vh;
      border-right: 1px solid rgba(0, 0, 0, 0.1);
    }
    /* Hide the offcanvas header (close button) on larger screens */
    .offcanvas-header {
      display: none;
    }
    /* Shift main content to account for the sidebar */
    .content {
      margin-left: 250px;
    }
  }

/* wildtail */

.nav-link svg {
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
}
.layout {
    min-height: 100vh;
}

/* Mobile Header */
.mobile-header {
    display: none;
    padding: 1rem;
    background-color: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
}

.burger-menu {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
          padding: 20px 21px;
}

.burger-menu svg {
    width: 24px;
    height: 24px;
}

/* Sidebar */
.sidebar {
    width: 250px;
    background-color: white;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
}

.sidebar-header {
    padding: 0.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sidebar-header span {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
}

.sidebar-nav {
    padding: 1rem;
    flex-grow: 1;
}

.nav-link {
    display: block;
    padding: 0.75rem 1rem !important;
    color: #4b5563 !important;
    text-decoration: none;
    border-radius: 0.5rem;
}

.nav-link:hover {
    background-color: #f3f4f6;
}

.nav-link.active {
    background-color: #F6FCE5 !important;
    border-bottom: 1px solid #E4EBCE;
    color: #1E1E1E !important;
}
.nav-link.active svg {
    color: #1E1E1E !important;
    background-color: #E4EBCE !important;
    background: #E4EBCE;
    border-radius: 0.5rem;
}

.sidebar-footer {
    padding: 1rem;
    border-top: 1px solid #e5e7eb;
}

/* Settings Popup Styles */
.settings-container {
    position: relative;
}

.settings-popup {
    position: absolute;
    bottom: 100%;
    left: 1rem;
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 200px;
    margin-bottom: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease-in-out;
}

.settings-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.settings-popup-item {
    display: block;
    padding: 0.75rem 1rem;
    color: #4b5563;
    text-decoration: none;
    transition: background-color 0.2s;
}

.settings-popup-item:first-child {
    border-radius: 0.5rem 0.5rem 0 0;
}

.settings-popup-item:last-child {
    border-radius: 0 0 0.5rem 0.5rem;
}

.settings-popup-item:hover {
    background-color: #f3f4f6;
}

.settings-popup::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 2rem;
    width: 12px;
    height: 12px;
    background-color: white;
    transform: rotate(45deg);
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1);
}

.settings-popup::before {
    content: '';
    position: absolute;
    bottom: -7px;
    left: 0;
    right: 0;
    height: 12px;
    background-color: transparent;
}

/* Main Content */
.main-content {
    margin-left: 270px;
    padding: 0 2rem 2rem;
    background-color: #fff

}

.content-header {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between; 
}

.locations-header {
    display: flex;

}

.content-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.grid-item {
    background-color: #f8fafc;
    padding: 1rem;
    border-radius: 0.5rem;
}

/* Overlay */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 25;
}


/* common styles */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.stat-card {
    background: #FAFAFA;
    padding: 1.5rem;
    border-radius: 20px;
    /* box-shadow: 0 2px 4px rgba(0,0,0,0.1); */
    background-position: calc(100% + 20px) 70% !important;
    background-repeat: no-repeat !important;
    border: 1px solid #e5e7eb;
}

.stat-card.stamps {
    background-image: url("../images/png/stamp-duo.png");

}

.stat-card.cards {
    background-image: url("../images/png/card-duo.png");

}

.stat-card.reward {
    background-image: url("../images/png/reward-duo.png");

}

.stat-card.points {
    background-image: url("../images/png/reward-duo.png");
}

.stat-card.business {
    background-image: url("../images/png/business-duo.png");

}

.stat-card.customers {
    background-image: url("../images/png/customers-duo.png");
 
}

.stat-card.scan {
    background-image: url("../images/png/scan-duo.png");
}

.stat-card.active {
    background-image: url("../images/png/active-duo.png");
}
.card-mobile-preview {
    background-color: #fff;    
    border: 1px solid #e5e7eb;
    padding: 10px;
    border-radius: 15px;
    box-shadow: 2px 2px 9px rgba(0, 0, 0, 0.1);
}

.circle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding:10px;
    row-gap: 10px;
   
}

.circle-stamp.col {
 display: flex;
 align-items: center;
 justify-content: center;
}

.circle-stamp-inner {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #fff;
    padding: 2px;
    display: flex !important;
    align-items: center;
    justify-content: center;
 
}

.circle-stamp-inner img {
    width: 70%;
    height: 70%;
    object-fit: contain;
    margin: 0 auto;
    padding: 0;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-top: 0rem;
    margin-bottom: 0rem;
    font-weight: 400 !important;
    font-family: 'Geist';
}
/* Ensure both sections have the same height */
.activity-section,
.top-clerks-section,
.audit-logs-section {
    height: 100%;
    background: white;
    border-radius: 8px;
    /* box-shadow: 0 2px 4px rgba(0,0,0,0.1); */
    padding: 1.5rem;

}

.activity-list,
.clerks-grid {
    height: calc(100% - 3rem); /* Subtract the height of the heading */
    overflow-y: auto;
    margin-top: 1rem;
}

.activity-list, .locations-grid {
    border-radius: 8px;
    /* box-shadow: 0 2px 4px rgba(0,0,0,0.1); */
    margin-top: 1rem;
    padding: 1rem;
    max-height: 490px;
    overflow-y: auto;
}

.tab-button.not-implemented::after {
    content: 'Coming soon';
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    font-size: 0.7rem;
    background: #ddd;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    color: #666;
}
/* Toast Styles */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    display: flex;
    align-items: flex-start;
    background: white;
    border-radius: 8px;
    padding: 16px;
    min-width: 300px;
    max-width: 400px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    animation: slideIn 0.3s ease-out;
    border-left: 4px solid;
    position: relative;
}

.toast.success {
    border-left-color: #4caf50;
}

.toast.error {
    border-left-color: #f44336;
}

.toast.info {
    border-left-color: #2196f3;
}

.toast-icon {
    margin-right: 12px;
    font-size: 20px;
    float:left;
}

.toast.success .toast-icon, .toast.successfully .toast-icon {
    color: #4caf50;
}

.toast.success:before, .toast.successfully:before {
    content: '';
    width: 4px;
    height: calc(100% - 10px);
    position: absolute;
    top: 5px;
    background: #4caf50;
    left: 5px;
}

.toast.error .toast-icon {
    color: #f44336;
}

.toast.info .toast-icon {
    color: #2196f3;
}

.toast-content {
    flex: 1;
    padding-right: 24px; /* Make space for the close button */
}

.toast-message {
    margin: 0;
    color: #333;
    font-size: 0.95rem;
    line-height: 1.4;
}

.toast-close {
    position: absolute;
    top: 8px;
    right: 8px;
    cursor: pointer;
    padding: 4px;
    color: #666;
    transition: color 0.2s;
    font-size: 14px;
    border: none;
    background-color: transparent;
}

.toast-close:hover {
    color: #333;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* tabs */
.tabs-container {
    width: 100%;
    background-color: #F6F6F6;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1rem;
    max-width: 600px;
  }

  .tabs-nav {
    display: flex;
  }

  .tab-button {
    padding: 12px 20px;
    background: none;
    border: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    color: var(--bs-heading-color);
    transition: color 0.3s;
    margin: 5px;
  }

  .tab-button:hover {
    color: #333;
    background-color: #fff;
    margin: 5px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  .tab-button.active {
    color: inherit !important;
    background-color: #F6FCE5;
    margin: 5px;
    border-radius: 12px;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
    border-bottom: 0px;
  }

 

  .tab-content {
    padding: 20px;
    display: none;
    background-color: #F6F6F6;
  }

  .tab-content.active {
    display: block;
  }

  .separator {
    height: 1px;
    display: flex;
    /* max-width: 20%; */
    /* margin: 0 auto; */
}



/* subscription */

.subscription-cards .btn-primary {
    width: 100%;
    background-color: black !important;
    color: white !important;
    border: none !important;
    height: 50px !important;
    font-size: 1.2rem !important;
    font-weight: 600 !important;
    line-height: 2 !important;
}

.subscription-card {
    background-color: #F6F6F6;
    background-image: url("https://cardora.ro/wp-content/uploads/2025/05/pachet-pinguin-150x150.png");
    background-size: 250px;
    background-position: bottom right;
    background-repeat: no-repeat;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.subscription-card.koala {
    background-image: url("https://cardora.ro/wp-content/uploads/2025/05/pachet-koala-150x150.png");
}

.card-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* Subscription Key Section Styles */
.subscription-key-card {
    background-color: #F6F6F6;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.subscription-key-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.subscription-key-description {
    color: #666;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.subscription-key-input-group {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.subscription-key-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    background: white;
}

.subscription-key-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.subscription-key-btn {
    background-color: black !important;
    color: white !important;
    border: none !important;
    height: 50px !important;
    font-size: 1.2rem !important;
    font-weight: 600 !important;
    padding: 0 2rem !important;
    border-radius: 8px !important;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.subscription-key-btn:hover {
    background-color: #333 !important;
    transform: translateY(-1px);
}


/* Mobile Responsive Styles */
@media (max-width: 480px) {
    .tabs-nav {
      flex-direction: column;
      border-bottom: none;
    }

    /* Subscription Key Extra Small Mobile Styles */
    .subscription-key-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .subscription-key-title {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }

    .subscription-key-description {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
    }
    
    .tab-button {
      text-align: left;
      border-bottom: 1px solid #e0e0e0;
      padding: 15px;
    }
    
    .tab-button.active::after {
      height: 100%;
      width: 3px;
      top: 0;
      bottom: auto;
    }
    
    .tabs-container {
      border-radius: 4px;
    }
    
    .tab-content {
      padding: 15px;
    }
  }



/* Mobile Responsive */
@media (max-width: 768px) {

        .stat-card.cards, .stat-card.stamps, .stat-card.points, .stat-card.reward, .stat-card.business, .stat-card.customers, .stat-card.scan {
            align-items: center;
            justify-content: center;
            border: 2px dotted #C8EDDA;
            background: #EAF7F0 !important;
        }

        /* Subscription Key Mobile Styles */
        .subscription-key-card {
            padding: 1.5rem;
            margin-bottom: 1.5rem;
        }

        .subscription-key-title {
            font-size: 1.5rem;
            margin-bottom: 0.75rem;
        }

        .subscription-key-description {
            font-size: 0.9rem;
            margin-bottom: 1rem;
        }

        .subscription-key-input-group {
            flex-direction: column;
            gap: 0.75rem;
        }

        .subscription-key-input {
            width: 100%;
            min-height: 44px;
        }

        .subscription-key-btn {
            width: 100%;
            height: 44px !important;
            font-size: 1rem !important;
            padding: 0 1rem !important;
        }
        .stat-card.cards:before {
            background: #71DA99 !important;
            opacity: 0.4 !important;
        }
        .stat-card.stamps:before {
            background: #2180EF !important;
            opacity: 0.3 !important;
        }
        .stat-card.reward:before {
            background: #8968E9 !important;
            opacity: 0.3 !important;
        }
        .stat-card.points:before {
            background: #F59E0B !important;
            opacity: 0.3 !important;
        }

        .stat-card.stamps {
            background: #F0F9FF !important;
            border-color: #C9E5F7 !important;
        }
        .stat-card.reward {
            background: #F0EBFD !important;
        }
        .stat-card.points {
            background: #FFFBEB !important;
            border-color: #FDE68A !important;
        }
        .stat-card.cards p, .stat-card.stamps p, .stat-card.points p, .stat-card.reward p, .stat-card.business p, .stat-card.customers p, .stat-card.scan p
        {margin: 0 !important; text-align: center !important;}
    

    .main-content {
       padding: 1rem !important;
    }
    .content-header {
        margin-bottom: 1rem !important;
    }

    .edit-form-container {
        margin-top: 0rem !important;
    }

    .business-info {
        gap: 0.5rem !important;
    }
    .mobile-header {
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .sidebar {
        transform: translateX(-100%);
        z-index: 30;
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .main-content, .main-content.pt-3 {
        margin-left: 0;
        padding-top: 1rem !important;
    }

    .overlay.active {
        display: block;
    }

    .settings-popup {
        bottom: 100%;
        left: 50%;
        transform: translateX(-50%) translateY(10px);
    }

    .settings-popup.active {
        transform: translateX(0%) translateY(0);
        animation: none;
    }

    .settings-popup::after {
        left: 50%;
        margin-left: -6px;
    }

    .customer-details-page .main-content, .customer-details-page .main-content.pt-3 {
        padding-top: 1rem !important;
    }
}

/* Input with copy button - Desktop styles */
.input-with-copy {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-copy input {
    flex: 1;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: none;
}

.copy-btn {
    background: #E8F45F;
    border: 1px solid #ddd;
    border-left: none;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
}

.copy-btn:hover {
    background: #d4e54a;
}

.copy-btn:active {
    background: #c0d53a;
}

/* Admin customers modal: SMS action next to phone */
.profile-phone-container .profile-phone-sms-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 0.25rem;
    padding: 0.15rem 0.35rem;
    border: none;
    background: transparent;
    color: #0d6efd;
    cursor: pointer;
    border-radius: 4px;
    vertical-align: middle;
}

.profile-phone-container .profile-phone-sms-btn:hover {
    color: #0a58ca;
    background: rgba(13, 110, 253, 0.08);
}