
  /* Bottom-Sheet Modal Styles */
  .modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .modal-overlay.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  
  .bottom-sheet-modal {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    max-height: 85vh;
    z-index: 1001;
    overflow-y: auto;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    pointer-events: none;
  }

  .bottom-sheet-modal.show {
    pointer-events: auto;
  }
  
  /* Desktop: Centered Modal Popup */
  @media (min-width: 992px) {
    .bottom-sheet-modal {
      position: fixed;
      bottom: auto;
      left: 50%;
      right: auto;
      top: 50%;
      width: 460px;
      max-width: 90vw;
      height: auto;
      max-height: none;
      border-radius: 28px;
      box-shadow: 0 10px 60px rgba(102, 126, 234, 0.15), 0 4px 12px rgba(0, 0, 0, 0.08);
      transform: translate(-50%, -50%) scale(0.85);
      opacity: 0;
      background: white;
      border: 1px solid rgba(102, 126, 234, 0.1);
      will-change: transform, opacity;
      overflow: hidden;
    }
    
    .bottom-sheet-modal.show {
      transform: translate(-50%, -50%) scale(1);
      opacity: 1;
    }
    
    .modal-overlay {
      opacity: 0.5;
      background: rgba(0, 0, 0, 0.5);
      backdrop-filter: blur(2px);
    }
    
    .sheet-handle {
      display: none;
    }
    
    .sheet-header {
      background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
      border-bottom: 1px solid #e8e8e8;
      padding: 22px 24px 16px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      border-radius: 28px 28px 0 0;
    }
    
    .sheet-title {
      font-size: 19px;
      font-weight: 700;
      color: #1a1a1a;
      letter-spacing: -0.3px;
    }
    
    .sheet-subtitle {
      font-size: 13px;
      color: #909090;
      font-weight: 500;
      margin-top: 5px;
    }
    
    .sheet-content {
      padding: 8px 0;
      overflow: hidden;
    }
    
    .sheet-tabs {
      background: #f9fafb;
      border-bottom: 2px solid #e8e8e8;
      border-top: 1px solid #e8e8e8;
      padding: 6px 8px;
      display: flex;
      gap: 4px;
    }
    
    .sheet-tab-btn {
      font-size: 14px;
      font-weight: 600;
      flex: 1;
      padding: 10px 16px;
      border-radius: 12px;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
  }
  
  /* Tablet & Mobile: Bottom Sheet */
  @media (max-width: 991px) {
    .bottom-sheet-modal {
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      width: 100%;
      max-width: none;
      height: auto;
      max-height: 85vh;
      border-radius: 20px 20px 0 0;
      box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
      transform: translateY(100%);
      background: #ffffff;
      border: none;
    }
    
    .bottom-sheet-modal.show {
      transform: translateY(0);
    }
  }
  
  .bottom-sheet-modal.show {
    transform: translateY(0);
  }
  
  @keyframes slideUp {
    from {
      opacity: 0;
      transform: translateY(100%);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .sheet-handle {
    width: 42px;
    height: 4px;
    background: #d0d0d0;
    border-radius: 2px;
    margin: 10px auto;
    transition: background 0.2s;
  }
  
  .bottom-sheet-modal:hover .sheet-handle {
    background: #b0b0b0;
  }
  
  /* Profile Avatar Button */
  .profile-avatar-btn,
  .logo-avatar-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  
  .profile-avatar-btn:hover .profile-avatar,
  .profile-avatar-btn:hover .profile-avatar-placeholder {
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
  }
  
  .logo-avatar-btn:hover img {
    transform: scale(1.1);
    background: rgba(102, 126, 234, 0.05);
    border-radius: 10px;
  }
  
  .navbar-main .dropdown {
    position: relative;
  }

  .navbar-main .dropdown-menu {
    position: absolute;
    top: calc(100% + 0.25rem);
    right: 0;
    left: auto;
    min-width: 260px;
    max-width: 340px;
    z-index: 2000;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.12);
  }

  .navbar-main .dropdown-menu.show {
    display: block;
  }

  @media (max-width: 767.98px) {
    .navbar-main .dropdown-menu {
      width: calc(100vw - 1.5rem);
      max-width: 320px;
      right: 0.75rem;
      left: auto;
    }
  }
  
  .profile-avatar {
    border: 2px solid #f0f0f0;
    transition: all 0.2s ease;
  }
  
  .profile-avatar-placeholder {
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: all 0.2s ease;
  }
  
  .logo-clickable {
    transition: transform 0.2s ease, background 0.2s ease;
    border-radius: 10px;
    padding: 4px;
  }
  
  /* Sheet Header */
  .sheet-header {
    padding: 16px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-bottom: 1px solid #e8e8e8;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .sheet-title {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    letter-spacing: 0.3px;
  }
  
  .sheet-close-btn {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #a8a8a8;
    padding: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    flex-shrink: 0;
  }
  
  .sheet-close-btn:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #1a1a1a;
  }
  
  @media (min-width: 992px) {
    .sheet-close-btn {
      width: 40px;
      height: 40px;
      font-size: 24px;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      background: rgba(102, 126, 234, 0.08);
      border-radius: 50%;
    }
    
    .sheet-close-btn:hover {
      background: rgba(102, 126, 234, 0.15);
      color: #667eea;
      transform: rotate(90deg) scale(1.1);
    }
  }
  
  .sheet-subtitle {
    font-size: 13px;
    color: #a8a8a8;
    font-weight: 400;
    margin-top: 4px;
  }
  
  /* Sheet Tabs */
  .sheet-tabs {
    display: flex;
    border-bottom: 1px solid #e8e8e8;
    padding: 0;
    margin: 0;
    background: #fafafa;
    gap: 0;
  }
  
  .sheet-tab-btn {
    flex: 1;
    padding: 12px 14px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    color: #909090;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 3px solid transparent;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
  }
  
  .sheet-tab-btn:hover {
    background: #f2f2f2;
    color: #667eea;
  }
  
  .sheet-tab-btn.active {
    color: #667eea;
    border-bottom-color: #667eea;
    background: transparent;
    font-weight: 600;
  }
  
  @media (min-width: 992px) {
    .sheet-tab-btn {
      padding: 12px 20px;
      font-size: 14px;
      font-weight: 600;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      position: relative;
    }
    
    .sheet-tab-btn::after {
      content: '';
      position: absolute;
      bottom: -2px;
      left: 50%;
      right: 50%;
      height: 3px;
      background: linear-gradient(90deg, #667eea, #764ba2);
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      border-radius: 2px;
    }
    
    .sheet-tab-btn:hover {
      background: rgba(102, 126, 234, 0.05);
      color: #667eea;
    }
    
    .sheet-tab-btn.active {
      color: #667eea;
      background: rgba(102, 126, 234, 0.08);
      border-bottom: none;
      font-weight: 700;
    }
    
    .sheet-tab-btn.active::after {
      left: 10%;
      right: 10%;
    }
  }
  
  .sheet-content {
    padding: 8px 0;
  }
  
  .sheet-item {
    display: block;
    width: 100%;
    padding: 12px 20px;
    color: #1a1a1a;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    background: none;
    text-align: left;
    cursor: pointer;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 14px;
    font-weight: 500;
  }
  
  .sheet-item i {
    margin-right: 12px;
    width: 18px;
    text-align: center;
    color: #667eea;
  }
  
  .sheet-item:hover {
    background: #f5f6fa;
    color: #667eea;
    padding-left: 24px;
  }
  
  .sheet-item.text-danger {
    color: #1a1a1a;
  }
  
  .sheet-item.text-danger:hover {
    color: #ff3b30;
  }
  
  .sheet-item.text-danger i {
    color: #ff3b30;
  }
  
  /* Desktop Modal Card Adjustments */
  @media (min-width: 992px) {
    .sheet-item {
      padding: 14px 24px;
      font-size: 15px;
      border-radius: 0;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      position: relative;
      overflow: hidden;
    }
    
    .sheet-item::before {
      content: '';
      position: absolute;
      left: 0;
      top: 0;
      bottom: 0;
      width: 4px;
      background: linear-gradient(180deg, #667eea, #764ba2);
      transform: scaleY(0);
      transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      transform-origin: center;
    }
    
    .sheet-item:hover {
      background: rgba(102, 126, 234, 0.1);
      border-radius: 12px;
      margin: 0 12px;
      padding-left: 28px;
      transform: translateX(2px);
    }
    
    .sheet-item:hover::before {
      transform: scaleY(1);
    }
    
    .sheet-item i {
      color: #667eea;
      margin-right: 14px;
      width: 20px;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .sheet-item:hover i {
      transform: translateX(2px);
    }
    
    .sheet-item.text-danger:hover {
      background: rgba(255, 59, 48, 0.1);
      color: #ff3b30;
    }
    
    .sheet-item.text-danger:hover::before {
      background: linear-gradient(180deg, #ff3b30, #e63946);
    }
    
    .sheet-item.text-danger:hover i {
      color: #ff3b30;
    }
  }
  
  .sheet-item hr {
    border: none;
    border-top: 1px solid #e8e8e8;
    margin: 6px 0;
    opacity: 1;
  }
  
  /* Saved Account Item */
  .saved-account-item {
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: #1a1a1a;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    font-family: inherit;
  }
  
  .saved-account-item:hover {
    background: #f5f6fa;
    padding-left: 24px;
  }
  
  .saved-account-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: white;
    font-weight: 600;
  }
  
  .saved-account-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  
  .saved-account-name {
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .saved-account-email {
    font-size: 12px;
    color: #a8a8a8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 400;
  }
  
  /* Empty State */
  .sheet-empty {
    text-align: center;
    padding: 24px 20px;
    color: #a8a8a8;
    font-size: 13px;
  }
  
  /* Mobile Styles */
  @media (max-width: 767px) {
    .bottom-sheet-modal {
      max-height: 90vh;
      width: 100%;
      left: 0;
      right: 0;
    }
    
    .bottom-sheet-modal.show {
      transform: translateY(0);
    }
  }
  
  /* Custom Scrollbar */
  .bottom-sheet-modal::-webkit-scrollbar {
    width: 6px;
  }
  
  .bottom-sheet-modal::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 10px;
  }
  
  .bottom-sheet-modal::-webkit-scrollbar-thumb {
    background: #d0d0d0;
    border-radius: 10px;
    transition: background 0.2s;
  }
  
  .bottom-sheet-modal::-webkit-scrollbar-thumb:hover {
    background: #b0b0b0;
  }