/* UserSettingsModal Styles */
.UserSettingsModal_modal__aKDjP {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.UserSettingsModal_container__OQfId {
  background-color: white;
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  max-width: 900px;
  width: 90vw;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  position: relative;
}

/* Sidebar Styles */
.UserSettingsModal_sidebar___B_Cu {
  width: 280px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-right: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  min-height: 600px;
}

.UserSettingsModal_sidebarHeader__44gVI {
  padding: 24px 20px 16px;
  border-bottom: 1px solid #e2e8f0;
}

.UserSettingsModal_title__CxscO {
  font-size: 24px;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
}

.UserSettingsModal_subtitle__X_3PG {
  font-size: 14px;
  color: #64748b;
  margin: 4px 0 0 0;
}

.UserSettingsModal_sidebarNav__dFIP1 {
  padding: 20px 0;
  flex: 1;
}

.UserSettingsModal_navItem__FdoQ7 {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  color: #475569;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 15px;
  font-weight: 500;
}

.UserSettingsModal_navItem__FdoQ7:hover {
  background-color: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}

.UserSettingsModal_navItem__FdoQ7.UserSettingsModal_active__1eGr8 {
  background-color: #3b82f6;
  color: white;
  position: relative;
}

.UserSettingsModal_navItem__FdoQ7.UserSettingsModal_active__1eGr8::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: #1d4ed8;
}

.UserSettingsModal_navIcon__MvgMV {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Content Area */
.UserSettingsModal_content__Wffgo {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 600px;
}

.UserSettingsModal_contentHeader__OCdjO {
  padding: 24px 32px 0;
  border-bottom: 1px solid #e5e7eb;
  background: white;
  display: flex;
  align-items: center;
  justify-content: between;
}

.UserSettingsModal_contentTitle__NZT9F {
  font-size: 20px;
  font-weight: 600;
  color: #111827;
  margin: 0;
  flex: 1;
}

.UserSettingsModal_closeButton__7hfFk {
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: #6b7280;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.UserSettingsModal_closeButton__7hfFk:hover {
  background-color: #f3f4f6;
  color: #374151;
}

.UserSettingsModal_contentBody__hTc0O {
  padding: 32px;
  overflow-y: auto;
  flex: 1;
}

/* Profile Section Styles */
.UserSettingsModal_profileHeader__lZicg {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 24px;
  background: linear-gradient(135deg, #dbeafe 0%, #e0e7ff 100%);
  border-radius: 12px;
  margin-bottom: 32px;
}

.UserSettingsModal_avatarContainer__N4vxT {
  position: relative;
}

.UserSettingsModal_avatar__j8vqw {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  border: 4px solid white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.UserSettingsModal_avatarButton__4djAh {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 32px;
  height: 32px;
  background-color: #3b82f6;
  border-radius: 50%;
  border: 2px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.UserSettingsModal_avatarButton__4djAh:hover {
  background-color: #2563eb;
  transform: scale(1.1);
}

.UserSettingsModal_avatarIcon__2zMCj {
  width: 14px;
  height: 14px;
  color: white;
}

.UserSettingsModal_profileInfo__L7AsP {
  flex: 1;
}

.UserSettingsModal_profileName__9cgWT {
  font-size: 24px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 4px 0;
}

.UserSettingsModal_profileRole__BqAul {
  font-size: 16px;
  color: #64748b;
  margin: 0 0 8px 0;
}

.UserSettingsModal_profileMember__raFPV {
  font-size: 14px;
  color: #64748b;
  margin: 0;
}

.UserSettingsModal_editButton__gVG7j {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background-color: white;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  color: #374151;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
}

.UserSettingsModal_editButton__gVG7j:hover {
  background-color: #f9fafb;
  border-color: #9ca3af;
}

/* Profile Form */
.UserSettingsModal_profileForm__q0GB6 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.UserSettingsModal_formGroup__SXUZv {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.UserSettingsModal_formLabel__5o5TD {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
}

.UserSettingsModal_formLabelIcon__RKXgP {
  width: 16px;
  height: 16px;
  color: #6b7280;
}

.UserSettingsModal_formInput__KOnxy {
  width: 100%;
  padding: 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.2s ease;
}

.UserSettingsModal_formInput__KOnxy:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.UserSettingsModal_formField__uA8FJ {
  padding: 12px;
  background-color: #f9fafb;
  border-radius: 8px;
  color: #111827;
  font-size: 14px;
}

.UserSettingsModal_formActions__8DFF4 {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid #e5e7eb;
  margin-top: 24px;
}

.UserSettingsModal_cancelButton__P_Vd7 {
  padding: 8px 16px;
  color: #6b7280;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.UserSettingsModal_cancelButton__P_Vd7:hover {
  color: #374151;
}

.UserSettingsModal_saveButton__rpnpH {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background-color: #3b82f6;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.UserSettingsModal_saveButton__rpnpH:hover {
  background-color: #2563eb;
}

/* Settings Section Styles */
.UserSettingsModal_searchContainer__woL_m {
  position: relative;
  margin-bottom: 32px;
}

.UserSettingsModal_searchIcon__gJ8OI {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  width: 20px;
  height: 20px;
}

.UserSettingsModal_searchInput__Eburj {
  width: 100%;
  padding: 12px 16px 12px 44px;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  font-size: 16px;
  transition: all 0.2s ease;
}

.UserSettingsModal_searchInput__Eburj:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.UserSettingsModal_settingsGrid__rSUBU {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.UserSettingsModal_settingCard__XSVlU {
  padding: 24px;
  background-color: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.UserSettingsModal_settingCard__XSVlU:hover {
  border-color: #3b82f6;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
  transform: translateY(-1px);
}

.UserSettingsModal_settingCardHeader__R7GIJ {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
}

.UserSettingsModal_settingIcon__ORPGM {
  width: 20px;
  height: 20px;
  padding: 12px;
  border-radius: 8px;
}

.UserSettingsModal_settingStatus__aQ3mG {
  padding: 4px 8px;
  font-size: 12px;
  border-radius: 12px;
  font-weight: 500;
}

.UserSettingsModal_settingStatus__aQ3mG.UserSettingsModal_active__1eGr8 {
  color: #065f46;
  background-color: #d1fae5;
}

.UserSettingsModal_settingStatus__aQ3mG.UserSettingsModal_inactive__2xgmC {
  color: #6b7280;
  background-color: #f3f4f6;
}

.UserSettingsModal_settingStatus__aQ3mG.UserSettingsModal_warning__NICPC {
  color: #92400e;
  background-color: #fef3c7;
}

.UserSettingsModal_settingTitle__1pZUY {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  margin: 0 0 8px 0;
}

.UserSettingsModal_settingDescription__SdAbl {
  font-size: 14px;
  color: #6b7280;
  margin: 0 0 12px 0;
  line-height: 1.5;
}

.UserSettingsModal_settingLastUpdated__LmOC_ {
  font-size: 12px;
  color: #9ca3af;
  margin: 0;
}

.UserSettingsModal_emptyState__IwOJj {
  text-align: center;
  padding: 48px 24px;
}

.UserSettingsModal_emptyIcon__B72Yi {
  width: 48px;
  height: 48px;
  color: #9ca3af;
  margin: 0 auto 16px;
}

.UserSettingsModal_emptyMessage__yCgVQ {
  color: #6b7280;
  font-size: 16px;
}

/* Color variants for setting icons */
.UserSettingsModal_iconBlue__C0ISb {
  color: #3b82f6;
  background-color: #dbeafe;
}

.UserSettingsModal_iconGreen__v_6xK {
  color: #10b981;
  background-color: #d1fae5;
}

.UserSettingsModal_iconRed__OaKo_ {
  color: #ef4444;
  background-color: #fee2e2;
}

.UserSettingsModal_iconPurple__yneqI {
  color: #8b5cf6;
  background-color: #ede9fe;
}

.UserSettingsModal_iconIndigo__bPH88 {
  color: #6366f1;
  background-color: #e0e7ff;
}

/* Hidden file input */
.UserSettingsModal_hiddenInput__HLBym {
  display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .UserSettingsModal_container__OQfId {
    flex-direction: column;
    width: 95vw;
    max-height: 95vh;
  }
  
  .UserSettingsModal_sidebar___B_Cu {
    width: 100%;
    min-height: auto;
    border-right: none;
    border-bottom: 1px solid #e2e8f0;
  }
  
  .UserSettingsModal_sidebarNav__dFIP1 {
    padding: 16px 0;
    display: flex;
    overflow-x: auto;
    gap: 8px;
  }
  
  .UserSettingsModal_navItem__FdoQ7 {
    flex-shrink: 0;
    padding: 8px 16px;
    border-radius: 8px;
    margin: 0 4px;
  }
  
  .UserSettingsModal_contentBody__hTc0O {
    padding: 24px;
  }
  
  .UserSettingsModal_profileForm__q0GB6 {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .UserSettingsModal_settingsGrid__rSUBU {
    grid-template-columns: 1fr;
  }
}

/* Loading and Error States */
.UserSettingsModal_loadingState__Z2Jve {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  color: #64748b;
}

.UserSettingsModal_loadingSpinner___wWkG {
  width: 40px;
  height: 40px;
  border: 3px solid #f1f5f9;
  border-top: 3px solid #3b82f6;
  border-radius: 50%;
  animation: UserSettingsModal_spin__2nE0b 1s linear infinite;
  margin-bottom: 16px;
}

@keyframes UserSettingsModal_spin__2nE0b {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.UserSettingsModal_errorMessage__6Med1 {
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.UserSettingsModal_errorIcon__hoU_X {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.UserSettingsModal_errorCloseBtn___xeH0 {
  background: none;
  border: none;
  color: #dc2626;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.UserSettingsModal_errorCloseBtn___xeH0:hover {
  background-color: rgba(220, 38, 38, 0.1);
}

/* Save Button States */
.UserSettingsModal_saveBtn__2aC15.UserSettingsModal_saving___Peiw {
  background-color: #94a3b8;
  cursor: not-allowed;
}

.UserSettingsModal_saveBtn__2aC15:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.UserSettingsModal_cancelBtn__W5uom:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Advanced Settings Styles */
.UserSettingsModal_advancedSettings__N_bFR {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #e2e8f0;
}

.UserSettingsModal_advancedSettingsTitle__nGM0N {
  font-size: 18px;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 16px 0;
}

.UserSettingsModal_advancedSettingsGrid__qSMgS {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.UserSettingsModal_advancedSettingCard___eP8i {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.UserSettingsModal_advancedSettingCard___eP8i:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.UserSettingsModal_advancedSettingInfo__D6KTj h5 {
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 4px 0;
}

.UserSettingsModal_advancedSettingInfo__D6KTj p {
  font-size: 12px;
  color: #64748b;
  margin: 0;
}

.UserSettingsModal_advancedSettingInfo__D6KTj small {
  font-size: 11px;
  color: #94a3b8;
  display: block;
  margin-top: 4px;
}

.UserSettingsModal_advancedSettingActions__K2gwe {
  display: flex;
  gap: 8px;
}

.UserSettingsModal_advancedButton__9IauD {
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 500;
  background: #3b82f6;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.UserSettingsModal_advancedButton__9IauD:hover {
  background: #2563eb;
  transform: translateY(-1px);
}

.UserSettingsModal_advancedButton__9IauD:active {
  transform: translateY(0);
}

.UserSettingsModal_advancedButton__9IauD:disabled {
  background: #94a3b8;
  cursor: not-allowed;
  transform: none;
}

.UserSettingsModal_advancedButton__9IauD.UserSettingsModal_syncing__WgDMT {
  background: #f59e0b;
}

/* Enhanced Avatar Styles */
.UserSettingsModal_avatarActions__QkB_I {
  position: absolute;
  bottom: -8px;
  right: -8px;
  display: flex;
  gap: 4px;
}

.UserSettingsModal_avatarButton__4djAh {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #3b82f6;
  color: white;
  border: 2px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.UserSettingsModal_avatarButton__4djAh:hover {
  background: #2563eb;
  transform: scale(1.1);
}

.UserSettingsModal_avatarButton__4djAh.UserSettingsModal_uploading__Xs9gU {
  background: #f59e0b;
  cursor: not-allowed;
}

.UserSettingsModal_avatarRemoveButton__2VA8k {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ef4444;
  color: white;
  border: 2px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  font-size: 14px;
  font-weight: bold;
}

.UserSettingsModal_avatarRemoveButton__2VA8k:hover {
  background: #dc2626;
  transform: scale(1.1);
}

.UserSettingsModal_avatarIcon__2zMCj {
  width: 14px;
  height: 14px;
}

/* Help Section Styles */
.UserSettingsModal_helpSection__ogNKh {
  padding: 0;
}

.UserSettingsModal_sectionTitle__89Ogn {
  font-size: 20px;
  font-weight: 600;
  color: #111827;
  margin: 0 0 24px 0;
  padding-bottom: 12px;
  border-bottom: 2px solid #e5e7eb;
}

.UserSettingsModal_faqList__UIihz {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.UserSettingsModal_faqItem__PCrO1 {
  background-color: #f9fafb;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid #e5e7eb;
  transition: all 0.2s ease;
}

.UserSettingsModal_faqItem__PCrO1:hover {
  background-color: #f3f4f6;
  border-color: #d1d5db;
}

.UserSettingsModal_faqQuestion__q9Mhm {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  margin: 0 0 12px 0;
  cursor: pointer;
}

.UserSettingsModal_faqAnswer__l7sRw {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.6;
  margin: 0;
}

/* Support Section Styles */
.UserSettingsModal_supportSection__Rytbm {
  padding: 0;
}

.UserSettingsModal_supportDescription__6u9Zm {
  font-size: 14px;
  color: #6b7280;
  margin: 0 0 32px 0;
  line-height: 1.5;
}

.UserSettingsModal_supportForm__t3Zde {
  background-color: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 32px;
}

.UserSettingsModal_textArea__itfbx {
  resize: vertical;
  min-height: 120px;
  font-family: inherit;
}

.UserSettingsModal_supportInfo__944hx {
  background: linear-gradient(135deg, #dbeafe 0%, #e0e7ff 100%);
  border-radius: 12px;
  padding: 24px;
}

.UserSettingsModal_supportInfoTitle__6uDt4 {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  margin: 0 0 16px 0;
}

.UserSettingsModal_supportInfoGrid__L_h3M {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}

.UserSettingsModal_supportInfoItem__Cnl3s {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background-color: white;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.UserSettingsModal_supportInfoIcon__Y1NX0 {
  width: 20px;
  height: 20px;
  color: #3b82f6;
  flex-shrink: 0;
}

.UserSettingsModal_supportInfoLabel__s5k1A {
  font-size: 12px;
  color: #6b7280;
  font-weight: 500;
  margin-bottom: 4px;
}

.UserSettingsModal_supportInfoValue__my5eo {
  font-size: 14px;
  color: #111827;
  font-weight: 500;
}
/* UserProfileDropdown.module.css */

.UserProfileDropdown_dropdownContainer__GQXEE {
  position: relative;
}

.UserProfileDropdown_dropdownTrigger__qPVBQ {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #dbeafe, #e0e7ff);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #bfdbfe;
  cursor: pointer;
  transition: all 0.2s ease;
  transform: scale(1);
}

.UserProfileDropdown_dropdownTrigger__qPVBQ:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transform: scale(1.05);
}

.UserProfileDropdown_dropdownTrigger__qPVBQ:focus {
  outline: none;
  box-shadow: 0 0 0 2px #3b82f6;
}

.UserProfileDropdown_avatarImage__u7PsC {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  -o-object-fit: cover;
     object-fit: cover;
}

.UserProfileDropdown_avatarEmoji__KmCPl {
  font-size: 20px;
  transition: transform 0.2s ease;
}

.UserProfileDropdown_dropdownTrigger__qPVBQ:hover .UserProfileDropdown_avatarEmoji__KmCPl {
  transform: scale(1.1);
}

.UserProfileDropdown_dropdownMenu__Enu8V {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 288px;
  max-width: calc(100vw - 16px);
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  z-index: 9999;
  overflow: hidden;
  backdrop-filter: blur(12px);
  animation: UserProfileDropdown_dropdownAppear__dIuMp 0.2s ease-out;
  
  /* Ensure it stays within viewport */
  transform-origin: top right;
}

/* Responsive positioning for small screens */
@media (max-width: 640px) {
  .UserProfileDropdown_dropdownMenu__Enu8V {
    right: -16px;
    width: calc(100vw - 32px);
    max-width: 320px;
  }
}

/* Check if dropdown would overflow and adjust */
@supports (anchor-name: --dropdown-anchor) {
  .UserProfileDropdown_dropdownMenu__Enu8V {
    position: absolute;
    position-anchor: --dropdown-anchor;
    margin: 8px 0;
  }
}

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

.UserProfileDropdown_profileHeader__dA5tZ {
  background: linear-gradient(135deg, #dbeafe, #e0e7ff);
  padding: 16px;
  border-bottom: 1px solid #e5e7eb;
}

.UserProfileDropdown_profileHeaderContent__I79Te {
  display: flex;
  align-items: center;
  gap: 12px;
}

.UserProfileDropdown_avatarButton__Boqv9 {
  position: relative;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #bfdbfe, #c7d2fe);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: none;
}

.UserProfileDropdown_avatarButton__Boqv9:hover {
  background: linear-gradient(135deg, #93c5fd, #a5b4fc);
}

.UserProfileDropdown_cameraIcon__wcqh3 {
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 20px;
  height: 20px;
  background-color: #3b82f6;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  border: 2px solid white;
}

.UserProfileDropdown_userInfo__fqgqs {
  flex: 1;
}

.UserProfileDropdown_userName__dLOU8 {
  font-weight: 600;
  color: #1f2937;
  margin: 0;
  font-size: 16px;
}

.UserProfileDropdown_userOrg__ymMHo {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
}

.UserProfileDropdown_menuItems__RFLZk {
  padding: 12px;
}

.UserProfileDropdown_menuItem___Py8a {
  width: 100%;
  text-align: left;
  padding: 12px 16px;
  font-size: 14px;
  color: #374151;
  background: none;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
}

.UserProfileDropdown_menuItem___Py8a:hover {
  color: #3b82f6;
  background-color: #eff6ff;
}

.UserProfileDropdown_menuItem___Py8a.UserProfileDropdown_logout__TR24a {
  color: #dc2626;
}

.UserProfileDropdown_menuItem___Py8a.UserProfileDropdown_logout__TR24a:hover {
  color: #b91c1c;
  background-color: #fef2f2;
}

.UserProfileDropdown_menuIcon___KDUu {
  font-size: 16px;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.UserProfileDropdown_menuItem___Py8a:hover .UserProfileDropdown_menuIcon___KDUu {
  transform: scale(1.1);
}

.UserProfileDropdown_menuText__CSdBH {
  font-weight: 500;
  flex: 1;
}

.UserProfileDropdown_divider__Jo_Ht {
  height: 1px;
  background-color: #e5e7eb;
  margin: 8px 0;
}

.UserProfileDropdown_hiddenInput__fDLyo {
  display: none;
}
/* Modal overlay */
.NotificationsModal_overlay__r6z3K {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: NotificationsModal_overlayAppear__bDHgK 0.2s ease-out;
}

@keyframes NotificationsModal_overlayAppear__bDHgK {
  from {
    opacity: 0;
    backdrop-filter: blur(0px);
  }
  to {
    opacity: 1;
    backdrop-filter: blur(4px);
  }
}

/* Modal container */
.NotificationsModal_modal__5ZGIa {
  background: white;
  border-radius: 1rem;
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(0, 0, 0, 0.05);
  width: 100%;
  max-width: 48rem;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  animation: NotificationsModal_modalAppear__E8WD7 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes NotificationsModal_modalAppear__E8WD7 {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Header */
.NotificationsModal_header__xM94P {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid #f3f4f6;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 1rem 1rem 0 0;
}

.NotificationsModal_headerLeft__s9FRC {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.NotificationsModal_headerIcon__SCcXE {
  padding: 0.75rem;
  background: #dbeafe;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.NotificationsModal_headerBellIcon__t__fX {
  width: 1.5rem;
  height: 1.5rem;
  color: #2563eb;
}

.NotificationsModal_headerText__PH3rY {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.NotificationsModal_title__PEn2F {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin: 0;
  line-height: 1.2;
}

.NotificationsModal_subtitle__4TUUo {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0;
}

.NotificationsModal_headerActions__tAZZU {
  display: flex;
  align-items: center;
}

.NotificationsModal_closeButton__KZU1f {
  padding: 0.5rem;
  color: #6b7280;
  background: transparent;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.NotificationsModal_closeButton__KZU1f:hover {
  color: #374151;
  background: #f3f4f6;
}

.NotificationsModal_closeIcon__INJ4V {
  width: 1.25rem;
  height: 1.25rem;
}

/* Action Bar */
.NotificationsModal_actionBar__5Gome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #f3f4f6;
  background: white;
  gap: 1rem;
}

.NotificationsModal_filterTabs__XILnn {
  display: flex;
  gap: 0.25rem;
  background: #f3f4f6;
  padding: 0.25rem;
  border-radius: 0.5rem;
}

.NotificationsModal_filterTab__6j2vR {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #6b7280;
  background: transparent;
  border: none;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.NotificationsModal_filterTab__6j2vR:hover {
  color: #374151;
  background: rgba(255, 255, 255, 0.8);
}

.NotificationsModal_filterTab__6j2vR.NotificationsModal_active__M5Fsx {
  color: #2563eb;
  background: white;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.NotificationsModal_actionButtons__IAvt9 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.NotificationsModal_actionButton__Nszlo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  background: white;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.NotificationsModal_actionButton__Nszlo:hover {
  background: #f9fafb;
  border-color: #9ca3af;
}

.NotificationsModal_dangerButton__kdtVq {
  color: #dc2626;
  border-color: #fca5a5;
}

.NotificationsModal_dangerButton__kdtVq:hover {
  background: #fef2f2;
  border-color: #f87171;
}

.NotificationsModal_actionIcon__91WQR {
  width: 1rem;
  height: 1rem;
}

/* Notifications List */
.NotificationsModal_notificationsList__kXzRy {
  flex: 1;
  overflow-y: auto;
  max-height: 32rem;
}

.NotificationsModal_notificationsList__kXzRy::-webkit-scrollbar {
  width: 8px;
}

.NotificationsModal_notificationsList__kXzRy::-webkit-scrollbar-track {
  background: #f9fafb;
}

.NotificationsModal_notificationsList__kXzRy::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 4px;
}

.NotificationsModal_notificationsList__kXzRy::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
}

/* Empty State */
.NotificationsModal_emptyState__KonQl {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  text-align: center;
  color: #6b7280;
}

.NotificationsModal_emptyIcon__5cRDX {
  width: 4rem;
  height: 4rem;
  margin-bottom: 1rem;
  color: #d1d5db;
}

.NotificationsModal_emptyTitle__y0uKw {
  font-size: 1.125rem;
  font-weight: 600;
  color: #374151;
  margin: 0 0 0.5rem 0;
}

.NotificationsModal_emptyDescription__smear {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0;
  max-width: 24rem;
}

/* Notification Item */
.NotificationsModal_notificationItem__bfvVs {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #f3f4f6;
  transition: all 0.2s ease;
  background: white;
}

.NotificationsModal_notificationItem__bfvVs:last-child {
  border-bottom: none;
}

.NotificationsModal_notificationItem__bfvVs:hover {
  background: #f9fafb;
}

.NotificationsModal_notificationItem__bfvVs.NotificationsModal_unread__NNt0X {
  background: linear-gradient(135deg, #eff6ff 0%, #f0f9ff 100%);
  border-left: 4px solid #2563eb;
}

.NotificationsModal_notificationItem__bfvVs.NotificationsModal_unread__NNt0X:hover {
  background: linear-gradient(135deg, #e0f2fe 0%, #e6fffa 100%);
}

.NotificationsModal_notificationContent__PaMw1 {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

/* Type Icon */
.NotificationsModal_typeIcon__LEbkE {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.NotificationsModal_typeSuccess__YDu1a {
  color: #059669;
  background-color: #ecfdf5;
}

.NotificationsModal_typeWarning__wym7D {
  color: #d97706;
  background-color: #fffbeb;
}

.NotificationsModal_typeError__2Vbbq {
  color: #dc2626;
  background-color: #fef2f2;
}

.NotificationsModal_typeInfo__XTyPC {
  color: #2563eb;
  background-color: #eff6ff;
}

/* Notification Body */
.NotificationsModal_notificationBody__M9lNi {
  flex: 1;
  min-width: 0;
}

.NotificationsModal_notificationHeader__Ekne0 {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.NotificationsModal_notificationTitle__79QP2 {
  font-size: 0.875rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.4;
  flex: 1;
}

.NotificationsModal_unreadTitle__LfHRB {
  color: #111827;
}

.NotificationsModal_readTitle__eFcP8 {
  color: #4b5563;
}

.NotificationsModal_unreadDot__HfB4I {
  width: 0.5rem;
  height: 0.5rem;
  background: #2563eb;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.5rem;
  margin-left: 0.5rem;
}

.NotificationsModal_notificationMessage__CbFfT {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0 0 0.75rem 0;
  line-height: 1.5;
}

.NotificationsModal_notificationFooter__I_9M_ {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.NotificationsModal_notificationTime__exzF8 {
  font-size: 0.75rem;
  color: #9ca3af;
}

.NotificationsModal_notificationActions__1wrYK {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.NotificationsModal_readButton__a9FvH,
.NotificationsModal_deleteButton__NBVIU {
  padding: 0.375rem;
  color: #9ca3af;
  background: transparent;
  border: none;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.NotificationsModal_readButton__a9FvH:hover {
  color: #059669;
  background: #ecfdf5;
}

.NotificationsModal_deleteButton__NBVIU:hover {
  color: #ef4444;
  background: #fef2f2;
}

.NotificationsModal_readIcon__M_dVd,
.NotificationsModal_deleteIcon__pZu69 {
  width: 0.875rem;
  height: 0.875rem;
}

/* Footer */
.NotificationsModal_footer__D66CD {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-top: 1px solid #f3f4f6;
  background: #f9fafb;
  border-radius: 0 0 1rem 1rem;
}

.NotificationsModal_footerStats__EyV9f {
  font-size: 0.875rem;
  color: #6b7280;
}

.NotificationsModal_doneButton__H1Lyc {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: white;
  background: #2563eb;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.NotificationsModal_doneButton__H1Lyc:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
}

/* Mobile responsiveness */
@media (max-width: 640px) {
  .NotificationsModal_overlay__r6z3K {
    padding: 0.5rem;
  }
  
  .NotificationsModal_modal__5ZGIa {
    max-height: 95vh;
  }
  
  .NotificationsModal_header__xM94P {
    padding: 1rem;
  }
  
  .NotificationsModal_title__PEn2F {
    font-size: 1.25rem;
  }
  
  .NotificationsModal_actionBar__5Gome {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding: 1rem;
  }
  
  .NotificationsModal_filterTabs__XILnn {
    order: 2;
  }
  
  .NotificationsModal_actionButtons__IAvt9 {
    order: 1;
    justify-content: center;
  }
  
  .NotificationsModal_notificationItem__bfvVs {
    padding: 0.75rem 1rem;
  }
  
  .NotificationsModal_notificationContent__PaMw1 {
    gap: 0.5rem;
  }
  
  .NotificationsModal_typeIcon__LEbkE {
    width: 2rem;
    height: 2rem;
  }
  
  .NotificationsModal_notificationFooter__I_9M_ {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .NotificationsModal_footer__D66CD {
    padding: 0.75rem 1rem;
    flex-direction: column;
    gap: 0.75rem;
  }
}

/* Focus management for accessibility */
.NotificationsModal_closeButton__KZU1f:focus-visible,
.NotificationsModal_filterTab__6j2vR:focus-visible,
.NotificationsModal_actionButton__Nszlo:focus-visible,
.NotificationsModal_readButton__a9FvH:focus-visible,
.NotificationsModal_deleteButton__NBVIU:focus-visible,
.NotificationsModal_doneButton__H1Lyc:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .NotificationsModal_overlay__r6z3K,
  .NotificationsModal_modal__5ZGIa {
    animation: none;
  }
  
  .NotificationsModal_actionButton__Nszlo,
  .NotificationsModal_readButton__a9FvH,
  .NotificationsModal_deleteButton__NBVIU,
  .NotificationsModal_doneButton__H1Lyc {
    transition: none;
  }
}
/* Container for the notification dropdown */
.NotificationsDropdown_container__n_Auc {
  position: relative;
  display: inline-block;
}

/* Trigger button styling */
.NotificationsDropdown_triggerButton__OTZzo {
  position: relative;
  padding: 0.5rem;
  color: #6b7280;
  background: transparent;
  border: none;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(1);
  outline: none;
}

.NotificationsDropdown_triggerButton__OTZzo:hover {
  color: #2563eb;
  background-color: #eff6ff;
  transform: scale(1.05);
}

.NotificationsDropdown_triggerButton__OTZzo:focus {
  color: #2563eb;
  background-color: #eff6ff;
  box-shadow: 0 0 0 2px #93c5fd;
}

.NotificationsDropdown_bellIcon__lAgvm {
  width: 1.25rem;
  height: 1.25rem;
  transition: transform 0.2s ease;
}

.NotificationsDropdown_triggerButton__OTZzo:hover .NotificationsDropdown_bellIcon__lAgvm {
  transform: scale(1.1);
}

/* Notification badge */
.NotificationsDropdown_badge__YRbpq {
  position: absolute;
  top: -0.25rem;
  right: -0.25rem;
  width: 1.25rem;
  height: 1.25rem;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 500;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px -1px rgba(239, 68, 68, 0.3);
  animation: NotificationsDropdown_pulse__I2_2O 2s infinite;
  border: 2px solid white;
}

@keyframes NotificationsDropdown_pulse__I2_2O {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
}

/* Dropdown panel */
.NotificationsDropdown_dropdown__lZ1C0 {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  width: 24rem;
  max-width: calc(100vw - 2rem);
  background: white;
  border: 1px solid rgba(229, 231, 235, 0.8);
  border-radius: 1rem;
  box-shadow: 
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  z-index: 1000;
  max-height: 32rem;
  overflow: hidden;
  backdrop-filter: blur(12px);
  animation: NotificationsDropdown_dropdownAppear__9AIaV 0.2s ease-out;
}

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

/* Header section */
.NotificationsDropdown_header__MzZNs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid #f3f4f6;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.NotificationsDropdown_headerLeft__hzEcO {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.NotificationsDropdown_headerIcon__MLT7L {
  padding: 0.5rem;
  background: #dbeafe;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.NotificationsDropdown_headerBellIcon__9w5px {
  width: 1.25rem;
  height: 1.25rem;
  color: #2563eb;
}

.NotificationsDropdown_headerText__OlDwO {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.NotificationsDropdown_headerTitle__g4voh {
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
  margin: 0;
  line-height: 1.2;
}

.NotificationsDropdown_headerBadge__qaEDm {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  background: linear-gradient(135deg, #fef2f2 0%, #fecaca 100%);
  color: #b91c1c;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  box-shadow: 0 1px 2px rgba(185, 28, 28, 0.1);
}

.NotificationsDropdown_headerActions__a38g4 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.NotificationsDropdown_markAllButton__xOXGM {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #2563eb;
  background: transparent;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.NotificationsDropdown_markAllButton__xOXGM:hover {
  color: #1d4ed8;
  background: #dbeafe;
}

.NotificationsDropdown_settingsButton__YpuEP {
  padding: 0.5rem;
  color: #6b7280;
  background: transparent;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.NotificationsDropdown_settingsButton__YpuEP:hover {
  color: #374151;
  background: #f3f4f6;
}

.NotificationsDropdown_settingsIcon__sZcL5 {
  width: 1rem;
  height: 1rem;
}

/* Notifications list */
.NotificationsDropdown_notificationsList__23WPx {
  max-height: 20rem;
  overflow-y: auto;
  scroll-behavior: smooth;
}

.NotificationsDropdown_notificationsList__23WPx::-webkit-scrollbar {
  width: 6px;
}

.NotificationsDropdown_notificationsList__23WPx::-webkit-scrollbar-track {
  background: #f9fafb;
}

.NotificationsDropdown_notificationsList__23WPx::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 3px;
}

.NotificationsDropdown_notificationsList__23WPx::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
}

/* Empty state */
.NotificationsDropdown_emptyState__tzLHO {
  padding: 2rem;
  text-align: center;
  color: #6b7280;
}

.NotificationsDropdown_emptyIcon__PTWW3 {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 0.75rem auto;
  color: #d1d5db;
}

.NotificationsDropdown_emptyText__ybYk_ {
  margin: 0;
  font-size: 0.875rem;
  color: #6b7280;
}

/* Notification item */
.NotificationsDropdown_notificationItem__a40rB {
  padding: 1rem;
  border-bottom: 1px solid #f3f4f6;
  transition: all 0.2s ease;
  background: white;
}

.NotificationsDropdown_notificationItem__a40rB:last-child {
  border-bottom: none;
}

.NotificationsDropdown_notificationItem__a40rB:hover {
  background: #f9fafb;
}

.NotificationsDropdown_notificationItem__a40rB.NotificationsDropdown_unread__0_pOr {
  background: linear-gradient(135deg, #eff6ff 0%, #f0f9ff 100%);
  border-left: 3px solid #2563eb;
}

.NotificationsDropdown_notificationItem__a40rB.NotificationsDropdown_unread__0_pOr:hover {
  background: linear-gradient(135deg, #e0f2fe 0%, #e6fffa 100%);
}

.NotificationsDropdown_notificationContent__TSxSq {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

/* Type icon */
.NotificationsDropdown_typeIcon__fXDz2 {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

/* Type-specific styling */
.NotificationsDropdown_typeSuccess__qPzjn {
  color: #059669;
  background-color: #ecfdf5;
}

.NotificationsDropdown_typeWarning__4Ggj7 {
  color: #d97706;
  background-color: #fffbeb;
}

.NotificationsDropdown_typeError__Nr1UP {
  color: #dc2626;
  background-color: #fef2f2;
}

.NotificationsDropdown_typeInfo__3bqmc {
  color: #2563eb;
  background-color: #eff6ff;
}

/* Notification body */
.NotificationsDropdown_notificationBody__P3hwr {
  flex: 1;
  min-width: 0;
  cursor: pointer;
}

.NotificationsDropdown_notificationHeader__g8YdQ {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.NotificationsDropdown_notificationTitle__cKHMl {
  font-size: 0.875rem;
  font-weight: 500;
  margin: 0;
  line-height: 1.4;
  flex: 1;
}

.NotificationsDropdown_unreadTitle__8sUif {
  color: #111827;
}

.NotificationsDropdown_readTitle__wYJXv {
  color: #4b5563;
}

.NotificationsDropdown_unreadDot__P3AoE {
  width: 0.5rem;
  height: 0.5rem;
  background: #2563eb;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.5rem;
  margin-left: 0.5rem;
}

.NotificationsDropdown_notificationMessage__uveHY {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0 0 0.5rem 0;
  line-height: 1.4;
}

.NotificationsDropdown_notificationTime__RvbSN {
  font-size: 0.75rem;
  color: #9ca3af;
  margin: 0;
}

/* Delete button */
.NotificationsDropdown_deleteButton__zSWir {
  padding: 0.25rem;
  color: #9ca3af;
  background: transparent;
  border: none;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.125rem;
}

.NotificationsDropdown_deleteButton__zSWir:hover {
  color: #ef4444;
  background: #fef2f2;
}

.NotificationsDropdown_deleteIcon__fI_wD {
  width: 1rem;
  height: 1rem;
  transition: transform 0.2s ease;
}

.NotificationsDropdown_deleteButton__zSWir:hover .NotificationsDropdown_deleteIcon__fI_wD {
  transform: scale(1.1);
}

/* Footer */
.NotificationsDropdown_footer__o0ax5 {
  padding: 0.75rem;
  border-top: 1px solid #f3f4f6;
  background: #f9fafb;
}

.NotificationsDropdown_viewAllButton__N66fP {
  width: 100%;
  padding: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #2563eb;
  background: transparent;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.NotificationsDropdown_viewAllButton__N66fP:hover {
  color: #1d4ed8;
  background: #dbeafe;
}

/* Mobile responsiveness */
@media (max-width: 640px) {
  .NotificationsDropdown_dropdown__lZ1C0 {
    width: calc(100vw - 2rem);
    right: -1rem;
    max-height: 24rem;
  }
  
  .NotificationsDropdown_header__MzZNs {
    padding: 1rem;
  }
  
  .NotificationsDropdown_headerTitle__g4voh {
    font-size: 1rem;
  }
  
  .NotificationsDropdown_notificationItem__a40rB {
    padding: 0.75rem;
  }
  
  .NotificationsDropdown_notificationContent__TSxSq {
    gap: 0.5rem;
  }
  
  .NotificationsDropdown_typeIcon__fXDz2 {
    width: 1.75rem;
    height: 1.75rem;
  }
}

/* Focus management for accessibility */
.NotificationsDropdown_triggerButton__OTZzo:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.NotificationsDropdown_markAllButton__xOXGM:focus-visible,
.NotificationsDropdown_settingsButton__YpuEP:focus-visible,
.NotificationsDropdown_deleteButton__zSWir:focus-visible,
.NotificationsDropdown_viewAllButton__N66fP:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 1px;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .NotificationsDropdown_badge__YRbpq {
    animation: none;
  }
  
  .NotificationsDropdown_dropdown__lZ1C0 {
    animation: none;
  }
  
  .NotificationsDropdown_triggerButton__OTZzo {
    transition: none;
  }
  
  .NotificationsDropdown_bellIcon__lAgvm,
  .NotificationsDropdown_deleteIcon__fI_wD {
    transition: none;
  }
}
/* UnifiedToolbar Component Styles */

.UnifiedToolbar_unifiedToolbar__VLSO8 {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 50;
  background-color: white;
  border-bottom: 1px solid #ffffff;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.UnifiedToolbar_toolbarContainer__YTZmh {
  display: flex;
  align-items: center;
  height: 64px;
  width: 100%;
}

.UnifiedToolbar_logoSection__1dt5y {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 24px;
  border-right: 1px solid #ffffff;
  background: linear-gradient(to right, #eff6ff, #eef2ff);
  height: 100%;
}

.UnifiedToolbar_logoIcon__PSXu0 {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #3b82f6, #6366f1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: white;
}

.UnifiedToolbar_logoText__DEEgY {
  font-weight: 700;
  font-size: 20px;
  background: linear-gradient(to right, #2563eb, #4f46e5);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  white-space: nowrap;
}

.UnifiedToolbar_tabsContainer__hEz_V {
  display: flex;
  border-right: 1px solid #ffffff;
  height: 100%;
}

.UnifiedToolbar_tabButton__x_YAz {
  position: relative;
  padding: 12px 20px;
  border: none;
  background: transparent;
  color: #4b5563;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  border-bottom: 3px solid transparent;
  height: 100%;
  display: flex;
  align-items: center;
}

.UnifiedToolbar_tabButton__x_YAz:hover {
  color: #1f2937;
  background-color: white;
  border-bottom-color: #ffffff;
}

.UnifiedToolbar_tabButton__x_YAz.UnifiedToolbar_active__HeTl6 {
  color: #2563eb;
  background-color: #eff6ff;
  border-bottom-color: #2563eb;
}

.UnifiedToolbar_tabButton__x_YAz:disabled {
  color: #9ca3af;
  cursor: not-allowed;
  border-bottom-color: #e5e7eb;
  background-color: #f9fafb;
}

.UnifiedToolbar_dropdown__aGysH {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border: 1px solid #ffffff;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  z-index: 50;
  min-width: 200px;
}

.UnifiedToolbar_dropdown__aGysH button {
  border: none !important;
  border-bottom: none !important;
  background-color: transparent !important;
  outline: none !important;
  box-shadow: none !important;
}

.UnifiedToolbar_dropdownItem__7K2CO {
  padding: 12px 16px;
  color: #374151;
  text-decoration: none;
  display: block;
  font-size: 14px;
  transition: background-color 0.2s ease;
}

.UnifiedToolbar_dropdownItem__7K2CO:hover {
  background-color: #f9fafb;
  color: #2563eb;
}

.UnifiedToolbar_dropdownItem__7K2CO:last-child {
  border-bottom: none;
}

.UnifiedToolbar_searchContainer__3l__i {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.UnifiedToolbar_searchInput__ijvjz {
  padding: 12px 16px 12px 40px;
  width: 320px;
  border: 1px solid #ffffff;
  border-radius: 12px;
  font-size: 14px;
  background-color: #f9fafb;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.UnifiedToolbar_searchInput__ijvjz:focus {
  outline: none;
  box-shadow: 0 0 0 2px #3b82f6;
  border-color: transparent;
}

.UnifiedToolbar_searchInput__ijvjz:hover {
  background-color: white;
}

.UnifiedToolbar_searchIcon__2l7Zv {
  position: absolute;
  left: 12px;
  color: #6b7280;
  pointer-events: none;
}

.UnifiedToolbar_rightSection__UM_1n {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 24px;
  border-left: 1px solid #ffffff;
  height: 100%;
  background: linear-gradient(to right, white, #f9fafb);
}

.UnifiedToolbar_actionButton___nyw7 {
  padding: 8px;
  border: none;
  background: transparent;
  color: #6b7280;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.UnifiedToolbar_actionButton___nyw7:hover {
  color: #374151;
  background-color: #f3f4f6;
}

.UnifiedToolbar_userSection__M5jmM {
  display: flex;
  align-items: center;
  gap: 12px;
}

.UnifiedToolbar_avatar__z8Ylw {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #6366f1);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
}

.UnifiedToolbar_userInfo__hLtTW {
  display: flex;
  flex-direction: column;
}

.UnifiedToolbar_userName__8LjDP {
  font-size: 14px;
  font-weight: 600;
  color: #1f2937;
  line-height: 1;
}

.UnifiedToolbar_userRole__OYu_9 {
  font-size: 12px;
  color: #6b7280;
  line-height: 1;
}
/* 
  ===========================================
  🎯 ENHANCED SIDEBAR STYLES
  ===========================================
  Component: /components/layout/Sidebar.tsx
  Purpose: Modern glass morphism sidebar with advanced functionality
  Theme: Glass effects with gradient backgrounds and smooth animations
*/

/* Main Sidebar Container */
.sidebar {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  width: 15rem; /* w-60 equivalent - increased for better text visibility */
  background: linear-gradient(180deg, 
    rgba(248, 250, 252, 0.95) 0%, 
    rgba(241, 245, 249, 0.95) 50%, 
    rgba(226, 232, 240, 0.95) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 
    0 10px 40px rgba(0, 0, 0, 0.1),
    0 4px 20px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  border-right: 1px solid rgba(226, 232, 240, 0.8);
  overflow: hidden;
  z-index: 30;
}

/* Dark mode support */
.sidebar[data-theme="dark"] {
  background: linear-gradient(180deg, 
    rgba(15, 23, 42, 0.95) 0%, 
    rgba(30, 41, 59, 0.95) 50%, 
    rgba(51, 65, 85, 0.95) 100%);
  border-right-color: rgba(51, 65, 85, 0.8);
}

/* Themed background variants */
.sidebar.themed-bg-secondary {
  background: linear-gradient(180deg, 
    rgba(248, 250, 252, 0.98) 0%, 
    rgba(241, 245, 249, 0.95) 50%, 
    rgba(226, 232, 240, 0.92) 100%);
}

.sidebar.themed-border {
  border-right: 1px solid rgba(226, 232, 240, 0.6);
}

/* Navigation Container */
.sidebar nav {
  padding: 0.75rem;
  height: 100%;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(148, 163, 184, 0.3) transparent;
}

.sidebar nav::-webkit-scrollbar {
  width: 4px;
}

.sidebar nav::-webkit-scrollbar-track {
  background: transparent;
}

.sidebar nav::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.3);
  border-radius: 2px;
}

.sidebar nav::-webkit-scrollbar-thumb:hover {
  background: rgba(148, 163, 184, 0.5);
}

/* Section Spacing */
.sidebar .space-y-6 > * + * {
  margin-top: 1.5rem;
}

.sidebar .space-y-1 > * + * {
  margin-top: 0.25rem;
}

/* Section Headers */
.sidebar .section-header {
  padding: 0.75rem;
}

.sidebar .section-header h3 {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(100, 116, 139, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
}

/* Navigation List */
.sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar li {
  list-style: none;
  margin: 0;
}

.sidebar .space-y-1 li + li {
  margin-top: 0.25rem;
}

/* Navigation Items */
.sidebar .nav-item {
  position: relative;
  display: flex;
  align-items: center;
  border-radius: 0.75rem;
  padding: 0.75rem;
  transition: all 0.3s ease;
  justify-content: space-between;
  gap: 0.75rem;
  text-decoration: none;
  font-weight: 500;
  color: rgba(55, 65, 81, 0.9);
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  width: 100%;
  text-align: left;
}

/* Navigation item content */
.sidebar .nav-item-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  flex: 1;
}

.sidebar .nav-item-content svg {
  height: 1.25rem;
  width: 1.25rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
  color: rgba(107, 114, 128, 0.8);
}

.sidebar .nav-item-content span {
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Active Navigation Item */
.sidebar .nav-item.active {
  background: linear-gradient(135deg, 
    rgba(59, 130, 246, 0.9) 0%, 
    rgba(37, 99, 235, 0.95) 100%);
  color: white;
  box-shadow: 
    0 8px 25px rgba(59, 130, 246, 0.3),
    0 4px 12px rgba(59, 130, 246, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateY(-1px);
}

.sidebar .nav-item.active .nav-item-content svg {
  color: white;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.sidebar .nav-item.active .nav-item-content span {
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Hover States */
.sidebar .nav-item:hover:not(.active) {
  background: rgba(255, 255, 255, 0.8);
  color: rgba(17, 24, 39, 0.9);
  box-shadow: 
    0 4px 15px rgba(0, 0, 0, 0.08),
    0 2px 8px rgba(0, 0, 0, 0.04);
  border-color: rgba(226, 232, 240, 0.8);
  transform: translateY(-1px);
}

.sidebar .nav-item:hover:not(.active) .nav-item-content svg {
  color: rgba(55, 65, 81, 0.8);
}

/* Coming Soon Items */
.sidebar .nav-item.coming-soon {
  opacity: 0.6;
  cursor: not-allowed;
  background: rgba(249, 250, 251, 0.5);
}

.sidebar .nav-item.coming-soon .nav-item-content svg {
  color: rgba(156, 163, 175, 0.7);
}

.sidebar .nav-item.coming-soon .nav-item-content span {
  color: rgba(107, 114, 128, 0.7);
}

/* Badge Styles */
.sidebar .nav-badge {
  padding: 0.25rem 0.5rem;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
  font-size: 0.75rem;
  border-radius: 9999px;
  flex-shrink: 0;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
  min-width: -moz-fit-content;
  min-width: fit-content;
}

.sidebar .coming-soon-badge {
  padding: 0.25rem 0.5rem;
  background: rgba(229, 231, 235, 0.8);
  color: rgba(107, 114, 128, 0.9);
  font-size: 0.75rem;
  border-radius: 9999px;
  flex-shrink: 0;
  font-weight: 500;
}

/* Loading States */
.sidebar .loading-dot {
  height: 0.5rem;
  width: 0.5rem;
  background: rgba(209, 213, 219, 0.7);
  border-radius: 50%;
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* Expandable and Dropdown Chevrons */
.sidebar .nav-chevron {
  height: 1rem;
  width: 1rem;
  color: rgba(107, 114, 128, 0.6);
  transition: transform 0.3s ease;
}

.sidebar .nav-item.active .nav-chevron {
  color: rgba(255, 255, 255, 0.8);
}

.sidebar .nav-chevron.expanded {
  transform: rotate(90deg);
}

.sidebar .nav-chevron.dropdown-open {
  transform: rotate(180deg);
}

/* Sub-navigation */
.sidebar .sub-nav {
  margin-left: 1.5rem;
  margin-top: 0.25rem;
  border-left: 2px solid rgba(229, 231, 235, 0.6);
  padding-left: 0.75rem;
}

.sidebar .sub-nav li {
  margin-top: 0.25rem;
}

.sidebar .sub-nav .nav-item {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  border-radius: 0.5rem;
}

.sidebar .sub-nav .nav-item .nav-item-content svg {
  height: 1rem;
  width: 1rem;
  color: rgba(156, 163, 175, 0.8);
}

.sidebar .sub-nav .nav-item.active {
  background: linear-gradient(135deg, 
    rgba(59, 130, 246, 0.8) 0%, 
    rgba(37, 99, 235, 0.85) 100%);
  box-shadow: 
    0 4px 15px rgba(59, 130, 246, 0.25),
    0 2px 8px rgba(59, 130, 246, 0.15);
}

.sidebar .sub-nav .nav-item:hover:not(.active) {
  background: rgba(248, 250, 252, 0.8);
  color: rgba(31, 41, 55, 0.9);
}

.sidebar .sub-nav .nav-item:hover:not(.active) .nav-item-content svg {
  color: rgba(75, 85, 99, 0.8);
}

/* Sub-navigation for coming soon items */
.sidebar .sub-nav .nav-item.coming-soon {
  opacity: 0.6;
  cursor: not-allowed;
  background: rgba(249, 250, 251, 0.3);
}

.sidebar .sub-nav .nav-item.coming-soon .nav-item-content svg {
  color: rgba(156, 163, 175, 0.5);
}

.sidebar .sub-nav .nav-item.coming-soon .nav-item-content span {
  color: rgba(107, 114, 128, 0.5);
}

/* Focus States for Accessibility */
.sidebar .nav-item:focus {
  outline: 2px solid rgba(59, 130, 246, 0.5);
  outline-offset: 2px;
}

.sidebar .nav-item:focus-visible {
  outline: 2px solid rgba(59, 130, 246, 0.7);
  outline-offset: 2px;
}

/* Animation for smooth transitions */
.sidebar * {
  transition: all 0.3s ease;
}

/* Glass effect enhancement */
.sidebar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.1) 0%, 
    rgba(255, 255, 255, 0.05) 50%, 
    rgba(255, 255, 255, 0.02) 100%);
  pointer-events: none;
  z-index: 1;
}

.sidebar > * {
  position: relative;
  z-index: 2;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .sidebar {
    width: 100%;
    position: fixed;
    bottom: 0;
    top: auto;
    height: auto;
    max-height: 50vh;
    border-right: none;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
  }
  
  .sidebar nav {
    max-height: 40vh;
    padding: 0.5rem;
  }
  
  .sidebar .nav-item {
    padding: 0.5rem;
  }
  
  .sidebar .section-header {
    padding: 0.5rem;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .sidebar {
    border-right-color: #000;
    background: #fff;
  }
  
  .sidebar .nav-item {
    border: 2px solid transparent;
  }
  
  .sidebar .nav-item.active {
    border-color: #000;
    background: #000;
    color: #fff;
  }
  
  .sidebar .nav-item:hover:not(.active) {
    border-color: #666;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .sidebar * {
    transition: none;
    animation: none;
  }
  
  .sidebar .nav-chevron {
    transition: none;
  }
  
  .sidebar .loading-dot {
    animation: none;
  }
}

/* Print styles */
@media print {
  .sidebar {
    display: none;
  }
}
/* 
  ===========================================
  🚀 QUICK ADD MODAL ENHANCEMENTS
  ===========================================
  Component: /components/modals/QuickAddModal.tsx
  Purpose: Enhanced styling for the Quick Add modal with modern glass effects
  Theme: Complementary to existing modal.css with additional enhancements
*/

/* Enhanced Card Hover Effects */
.mp-card {
  position: relative;
  overflow: hidden;
}

.mp-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.2), 
    transparent);
  transition: left 0.6s ease;
}

.mp-card:hover::after {
  left: 100%;
}

/* Category-Specific Gradients */
.mp-card[data-category="sales"] {
  --category-gradient: linear-gradient(135deg, #059669, #10b981);
}

.mp-card[data-category="operations"] {
  --category-gradient: linear-gradient(135deg, #dc2626, #ef4444);
}

.mp-card[data-category="general"] {
  --category-gradient: linear-gradient(135deg, #7c3aed, #a855f7);
}

/* Enhanced Icon Container */
.mp-card-icon {
  position: relative;
  transition: transform 0.3s ease;
}

.mp-card:hover .mp-card-icon {
  transform: scale(1.1) rotate(5deg);
}

.mp-card-icon::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: var(--category-gradient, linear-gradient(135deg, #3b82f6, #1d4ed8));
  border-radius: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.mp-card:hover .mp-card-icon::before {
  opacity: 0.3;
}

/* Enhanced Link Button */
.mp-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  background: rgba(29, 78, 216, 0.1);
  color: #1d4ed8;
  font-weight: 600;
  font-size: 0.875rem;
  border: 1px solid rgba(29, 78, 216, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  overflow: hidden;
}

.mp-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
  transition: left 0.3s ease;
  z-index: -1;
}

.mp-link:hover {
  color: white;
  border-color: transparent;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(29, 78, 216, 0.3);
}

.mp-link:hover::before {
  left: 0;
}

/* Enhanced Hero Section */
.mp-hero {
  position: relative;
  overflow: hidden;
}

.mp-hero::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, 
    rgba(99, 102, 241, 0.1) 0%, 
    transparent 70%);
  animation: float-bg 8s ease-in-out infinite;
  z-index: 0;
}

/* Role Information Section */
.mp-role-info {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1rem 0;
  padding: 0.5rem;
}

.mp-role-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, 
    rgba(99, 102, 241, 0.1) 0%, 
    rgba(139, 92, 246, 0.1) 100%);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 1rem;
  color: #4f46e5;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.mp-role-badge::before {
  content: '👤';
  font-size: 0.875rem;
}

@keyframes float-bg {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(-10px, -10px) rotate(1deg); }
  66% { transform: translate(10px, 5px) rotate(-1deg); }
}

/* Enhanced Grid Layout */
.mp-grid {
  position: relative;
}

.mp-grid::before {
  content: '';
  position: absolute;
  top: -1rem;
  left: -1rem;
  right: -1rem;
  bottom: -1rem;
  background: radial-gradient(circle at center, 
    rgba(59, 130, 246, 0.02) 0%, 
    transparent 70%);
  border-radius: 1rem;
  z-index: -1;
}

/* Stagger Animation for Cards */
.mp-card {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
  transform: translateY(20px);
}

.mp-card:nth-child(1) { animation-delay: 0.1s; }
.mp-card:nth-child(2) { animation-delay: 0.2s; }
.mp-card:nth-child(3) { animation-delay: 0.3s; }
.mp-card:nth-child(4) { animation-delay: 0.4s; }
.mp-card:nth-child(5) { animation-delay: 0.5s; }
.mp-card:nth-child(6) { animation-delay: 0.6s; }
.mp-card:nth-child(7) { animation-delay: 0.7s; }
.mp-card:nth-child(8) { animation-delay: 0.8s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Enhanced Typography */
.mp-card-title {
  position: relative;
  background: linear-gradient(135deg, #0f172a, #374151);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mp-card-sub {
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
}

.mp-card-sub::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--category-gradient, linear-gradient(135deg, #3b82f6, #1d4ed8));
  transition: width 0.3s ease;
}

.mp-card:hover .mp-card-sub::after {
  width: 100%;
}

/* Enhanced Quick Tips Section */
.mp-section-head {
  position: relative;
  padding: 1rem;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.8) 0%, 
    rgba(248, 250, 252, 0.9) 100%);
  border-radius: 0.75rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
  margin-top: 1rem;
}

.mp-section-head::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, 
    rgba(99, 102, 241, 0.02) 0%, 
    rgba(139, 92, 246, 0.02) 100%);
  border-radius: 0.75rem;
  z-index: -1;
}

.mp-quick-tip {
  position: relative;
  padding: 0.5rem 1rem;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 0.5rem;
  font-family: 'SF Mono', 'Monaco', 'Cascadia Code', monospace;
  font-size: 0.8rem;
  color: #4f46e5;
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.mp-quick-tip::before {
  content: '⌨️';
  margin-right: 0.5rem;
  font-size: 0.875rem;
}

/* Responsive Enhancements */
@media (max-width: 768px) {
  .mp-card {
    animation: none;
    opacity: 1;
    transform: none;
  }
  
  .mp-grid::before {
    display: none;
  }
  
  .mp-hero::after {
    animation: none;
  }
}

/* Accessibility Enhancements */
@media (prefers-reduced-motion: reduce) {
  .mp-card,
  .mp-emoji,
  .mp-hero::after {
    animation: none;
  }
  
  .mp-card {
    opacity: 1;
    transform: none;
  }
  
  .mp-card:hover .mp-card-icon {
    transform: none;
  }
  
  .mp-link:hover {
    transform: none;
  }
}

/* Dark Mode Enhancements */
@media (prefers-color-scheme: dark) {
  .mp-card {
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(71, 85, 105, 0.3);
  }
  
  .mp-card:hover {
    background: rgba(30, 41, 59, 0.95);
    border-color: rgba(99, 102, 241, 0.4);
  }
  
  .mp-card-title {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  
  .mp-card-desc {
    color: #94a3b8;
  }
  
  .mp-section-head {
    background: linear-gradient(135deg, 
      rgba(30, 41, 59, 0.8) 0%, 
      rgba(51, 65, 85, 0.9) 100%);
    border-color: rgba(71, 85, 105, 0.3);
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  .mp-card {
    border: 2px solid #000;
    background: #fff;
  }
  
  .mp-card:hover {
    background: #f0f0f0;
    border-color: #0066cc;
  }
  
  .mp-card-title {
    background: none;
    -webkit-text-fill-color: initial;
    color: #000;
  }
  
  .mp-card-icon {
    background: #0066cc;
    color: #fff;
  }
  
  .mp-link {
    background: #0066cc;
    color: #fff;
    border-color: #0066cc;
  }
}
/* 
  ===========================================
  ⚡ QUICK ADD BUTTON STYLES
  ===========================================
  Component: /components/navigation/QuickAddButton.tsx
  Purpose: Floating action button with enhanced glass morphism design
  Theme: Modern glass effects with gradient backgrounds
*/

/* Quick Add Floating Button */
.quick-add-button {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 50;
  
  /* Button Design */
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: linear-gradient(135deg, 
    rgba(59, 130, 246, 0.95) 0%, 
    rgba(37, 99, 235, 0.95) 50%,
    rgba(29, 78, 216, 0.98) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  
  /* Shadow and Effects */
  box-shadow: 
    0 8px 32px rgba(59, 130, 246, 0.4),
    0 4px 16px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  
  /* Icon Styling */
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  
  /* Smooth Transitions */
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(0);
}

.quick-add-button svg {
  width: 1.5rem;
  height: 1.5rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
  transition: transform 0.3s ease;
}

/* Hover Effects */
.quick-add-button:hover {
  transform: translateY(-4px) scale(1.05);
  background: linear-gradient(135deg, 
    rgba(37, 99, 235, 0.98) 0%, 
    rgba(29, 78, 216, 0.98) 50%,
    rgba(30, 64, 175, 0.98) 100%);
  box-shadow: 
    0 12px 40px rgba(59, 130, 246, 0.5),
    0 6px 20px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.4);
}

.quick-add-button:hover svg {
  transform: rotate(90deg) scale(1.1);
}

/* Active/Click Effects */
.quick-add-button:active {
  transform: translateY(-2px) scale(0.98);
  box-shadow: 
    0 8px 25px rgba(59, 130, 246, 0.4),
    0 3px 12px rgba(0, 0, 0, 0.12);
}

/* Focus for Accessibility */
.quick-add-button:focus {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

.quick-add-button:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.8);
  outline-offset: 2px;
}

/* Pulse Animation for Attention */
.quick-add-button::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 1rem;
  background: linear-gradient(135deg, 
    rgba(59, 130, 246, 0.3) 0%, 
    rgba(37, 99, 235, 0.3) 100%);
  z-index: -1;
  animation: pulse-ring 3s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  opacity: 0;
}

@keyframes pulse-ring {
  0% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.1);
  }
  100% {
    opacity: 0;
    transform: scale(1.3);
  }
}

/* Subtle glow effect */
.quick-add-button::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 1rem;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.1) 0%, 
    rgba(255, 255, 255, 0.05) 50%,
    rgba(255, 255, 255, 0.02) 100%);
  pointer-events: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .quick-add-button {
    bottom: 1.5rem;
    left: 1.5rem;
    width: 3rem;
    height: 3rem;
  }
  
  .quick-add-button svg {
    width: 1.25rem;
    height: 1.25rem;
  }
}

@media (max-width: 480px) {
  .quick-add-button {
    bottom: 1rem;
    left: 1rem;
    width: 2.75rem;
    height: 2.75rem;
  }
  
  .quick-add-button svg {
    width: 1.125rem;
    height: 1.125rem;
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  .quick-add-button {
    background: linear-gradient(135deg, 
      rgba(59, 130, 246, 0.9) 0%, 
      rgba(37, 99, 235, 0.9) 50%,
      rgba(29, 78, 216, 0.95) 100%);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 
      0 8px 32px rgba(59, 130, 246, 0.3),
      0 4px 16px rgba(0, 0, 0, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.15);
  }
  
  .quick-add-button:hover {
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 
      0 12px 40px rgba(59, 130, 246, 0.4),
      0 6px 20px rgba(0, 0, 0, 0.4),
      inset 0 1px 0 rgba(255, 255, 255, 0.2);
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  .quick-add-button {
    background: #0066cc;
    border: 2px solid #ffffff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  }
  
  .quick-add-button:hover {
    background: #0052a3;
    border-color: #ffffff;
  }
  
  .quick-add-button:focus {
    outline: 3px solid #ffff00;
    outline-offset: 2px;
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  .quick-add-button {
    transition: none;
  }
  
  .quick-add-button::before {
    animation: none;
  }
  
  .quick-add-button svg {
    transition: none;
  }
  
  .quick-add-button:hover {
    transform: none;
  }
  
  .quick-add-button:hover svg {
    transform: none;
  }
}

/* Print Styles */
@media print {
  .quick-add-button {
    display: none;
  }
}

/* Accessibility - Screen Reader Only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
/* 
  ===========================================
  🎨 VARIABLES & ROOT CONFIGURATION
  ===========================================
  CSS custom properties and theme variables
*/

:root {
  --unified-toolbar-h: 64px; /* Single unified toolbar height */
  --sidebar-w: 300px; /* Wider to accommodate longer text like "Collaboration" */
}

@media (min-width: 1024px) { 
  :root { 
    --sidebar-w: 340px; 
  } 
}

@media (max-width: 767px) { 
  :root { 
    --unified-toolbar-h: 56px; 
    --sidebar-w: 270px; 
  } 
}

.sidebar-collapsed { 
  --sidebar-w: 72px; 
}

@layer utilities {
  .animate-fade-in {
    animation: fadeIn 0.15s ease-in-out;
  }

  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(-0.25rem); }
    to { opacity: 1; transform: translateY(0); }
  }
}
/* 
  ===========================================
  🏗️ BASE RESET & FOUNDATION STYLES
  ===========================================
  Essential foundation styles for the entire application
*/

* {
  box-sizing: border-box;
}

html {
  height: auto;
  scroll-behavior: smooth;
  overflow-y: auto;
  -webkit-text-size-adjust: 100%; 
  -moz-text-size-adjust: 100%; 
       text-size-adjust: 100%;
}

html, body, #__next { 
  min-height: 100%; 
}

body {
  min-height: 100%;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #374151;
  background: #111827;
  overflow-x: hidden;
  overflow-y: auto;
}

/* Ensure no unwanted list bullets */
nav ul,
.sidebar ul,
ul.list-none {
  list-style: none;
  padding-left: 0;
}

nav li,
.sidebar li,
li.list-none {
  list-style: none;
}

/* Line clamp utilities */
.line-clamp-1 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* 
  ===========================================
  🎬 ANIMATIONS & KEYFRAMES
  ===========================================
  Reusable animation definitions
*/

/* Enhanced floating animation for background particles */
@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.7;
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
    opacity: 1;
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { 
    opacity: 0; 
    transform: translateY(20px) scale(0.95); 
  }
  to { 
    opacity: 1; 
    transform: translateY(0) scale(1); 
  }
}

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

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

@keyframes bounce {
  0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(0.8,0,1,1); }
  50% { transform: none; animation-timing-function: cubic-bezier(0,0,0.2,1); }
}

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

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

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes blob {
  0% {
    transform: translate(0px, 0px) scale(1);
  }
  33% {
    transform: translate(30px, -50px) scale(1.1);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }
  100% {
    transform: translate(0px, 0px) scale(1);
  }
}

@keyframes gradientShift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes bounceSubtle {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-4px);
  }
  60% {
    transform: translateY(-2px);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 5px rgba(147, 51, 234, 0.5), 0 0 10px rgba(147, 51, 234, 0.3), 0 0 15px rgba(147, 51, 234, 0.1);
  }
  50% {
    box-shadow: 0 0 10px rgba(147, 51, 234, 0.8), 0 0 20px rgba(147, 51, 234, 0.6), 0 0 30px rgba(147, 51, 234, 0.4);
  }
}

/* Animation Classes */
.animate-fadeIn { animation: fadeIn 0.15s ease-out; }
.animate-slideUp { animation: slideUp 0.15s ease-out; }
.animate-slideDown { animation: slideDown 0.15s ease-out; }
.animate-spin { animation: spin 1s linear infinite; }
.animate-bounce { animation: bounce 1s infinite; }
.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
.animate-fade-in-up { animation: fadeInUp 0.6s ease-out; }
.animate-blob { animation: blob 7s infinite; }
.animate-gradient-x { 
  background-size: 200% 200%;
  animation: gradientShift 3s ease infinite;
}
.animate-bounce-subtle { animation: bounceSubtle 2s infinite; }
.animate-pulse-glow { animation: pulseGlow 2s infinite; }
.animate-float { animation: float 3s ease-in-out infinite; }

/* Animation Delays */
.animation-delay-200 { animation-delay: 0.2s; }
.animation-delay-400 { animation-delay: 0.4s; }
.animation-delay-600 { animation-delay: 0.6s; }
.animation-delay-800 { animation-delay: 0.8s; }
.animation-delay-2000 { animation-delay: 2s; }
.animation-delay-4000 { animation-delay: 4s; }
/* 
  ===========================================
  📱 MOBILE RESPONSIVE CSS
  ===========================================
  Comprehensive mobile-first responsive design system for GhostCRM
  Breakpoints: Mobile (320px+), Tablet (640px+), Desktop (1024px+)
*/

/* ========== BREAKPOINT VARIABLES ========== */
:root {
  --mobile-min: 320px;
  --tablet-min: 640px;
  --desktop-min: 1024px;
  --large-min: 1280px;
  
  /* Mobile spacing system */
  --mobile-spacing-xs: 0.25rem;
  --mobile-spacing-sm: 0.5rem;
  --mobile-spacing-md: 1rem;
  --mobile-spacing-lg: 1.5rem;
  --mobile-spacing-xl: 2rem;
  
  /* Mobile typography */
  --mobile-text-xs: 0.75rem;
  --mobile-text-sm: 0.875rem;
  --mobile-text-base: 1rem;
  --mobile-text-lg: 1.125rem;
  --mobile-text-xl: 1.25rem;
  --mobile-text-2xl: 1.5rem;
  
  /* Touch targets */
  --touch-target-min: 44px;
  --touch-target-comfortable: 48px;
}

/* ========== MOBILE BASE STYLES ========== */
@media (max-width: 639px) {
  /* Container improvements */
  .container, 
  .max-w-7xl,
  .max-w-6xl,
  .max-w-5xl,
  .max-w-4xl {
    padding-left: var(--mobile-spacing-md) !important;
    padding-right: var(--mobile-spacing-md) !important;
  }
  
  /* Typography scaling */
  h1 {
    font-size: var(--mobile-text-2xl) !important;
    line-height: 1.2 !important;
  }
  
  h2 {
    font-size: var(--mobile-text-xl) !important;
    line-height: 1.3 !important;
  }
  
  h3 {
    font-size: var(--mobile-text-lg) !important;
    line-height: 1.4 !important;
  }
  
  /* Button optimizations */
  button,
  .btn,
  [role="button"] {
    min-height: var(--touch-target-min) !important;
    min-width: var(--touch-target-min) !important;
    padding: var(--mobile-spacing-sm) var(--mobile-spacing-md) !important;
    font-size: var(--mobile-text-base) !important;
  }
  
  /* Link improvements */
  a {
    min-height: var(--touch-target-min);
    display: inline-flex;
    align-items: center;
  }
  
  /* Form elements */
  input,
  select,
  textarea {
    font-size: 16px !important; /* Prevents zoom on iOS */
    min-height: var(--touch-target-comfortable) !important;
    padding: var(--mobile-spacing-sm) var(--mobile-spacing-md) !important;
  }
  
  /* Grid improvements */
  .grid {
    gap: var(--mobile-spacing-md) !important;
  }
  
  /* Flex layouts */
  .flex {
    gap: var(--mobile-spacing-sm);
  }
  
  /* Modal/Dialog improvements */
  .modal,
  .dialog,
  [role="dialog"] {
    margin: var(--mobile-spacing-md) !important;
    max-width: calc(100vw - 2rem) !important;
    max-height: calc(100vh - 2rem) !important;
  }
}

/* ========== NAVIGATION & HEADER ========== */
@media (max-width: 639px) {
  /* Marketing header optimizations */
  .marketing-page nav {
    padding: 0 var(--mobile-spacing-sm) !important;
  }
  
  .marketing-page nav > div {
    padding: 0 var(--mobile-spacing-sm) !important;
    gap: var(--mobile-spacing-xs) !important;
  }
  
  /* Navigation menu improvements */
  .nav-menu {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px);
    z-index: 9999;
    padding: var(--mobile-spacing-xl);
  }
  
  /* Breadcrumbs */
  .breadcrumb,
  .shared-breadcrumb {
    font-size: var(--mobile-text-sm) !important;
    gap: var(--mobile-spacing-xs) !important;
  }
  
  /* Sidebar/drawer */
  .sidebar,
  .drawer {
    width: 100vw !important;
    max-width: 320px !important;
  }
}

/* ========== CARDS & COMPONENTS ========== */
@media (max-width: 639px) {
  /* Card layouts */
  .card,
  .shared-card {
    padding: var(--mobile-spacing-md) !important;
    margin-bottom: var(--mobile-spacing-md) !important;
  }
  
  /* Dashboard cards */
  .dashboard-card {
    padding: var(--mobile-spacing-md) !important;
  }
  
  /* Analytics cards */
  .analytics-card,
  .tenant-owner-leads-analytics-card {
    padding: var(--mobile-spacing-md) !important;
    min-height: 100px !important;
  }
  
  /* Grid layouts */
  .grid-cols-4 {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  
  .grid-cols-3 {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  
  .grid-cols-2 {
    grid-template-columns: 1fr !important;
  }
  
  /* Flex layouts to stack */
  .flex-row {
    flex-direction: column !important;
  }
  
  .space-x-4 > * + * {
    margin-left: 0 !important;
    margin-top: var(--mobile-spacing-md) !important;
  }
}

/* ========== TABLES & DATA ========== */
@media (max-width: 639px) {
  /* Table responsiveness */
  .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  table {
    min-width: 600px;
    font-size: var(--mobile-text-sm) !important;
  }
  
  th,
  td {
    padding: var(--mobile-spacing-sm) !important;
    white-space: nowrap;
  }
  
  /* List improvements */
  .list-item {
    padding: var(--mobile-spacing-md) !important;
    margin-bottom: var(--mobile-spacing-sm) !important;
  }
}

/* ========== FORMS ========== */
@media (max-width: 639px) {
  /* Form layouts */
  .form-group,
  .form-field {
    margin-bottom: var(--mobile-spacing-md) !important;
  }
  
  .form-row {
    flex-direction: column !important;
    gap: var(--mobile-spacing-md) !important;
  }
  
  /* Label improvements */
  label {
    font-size: var(--mobile-text-sm) !important;
    margin-bottom: var(--mobile-spacing-xs) !important;
  }
  
  /* Form actions */
  .form-actions {
    flex-direction: column !important;
    gap: var(--mobile-spacing-md) !important;
  }
  
  .form-actions button {
    width: 100% !important;
  }
}

/* ========== SPECIFIC COMPONENTS ========== */
@media (max-width: 639px) {
  /* AI Assistant */
  .ai-assistant {
    bottom: var(--mobile-spacing-md) !important;
    right: var(--mobile-spacing-md) !important;
    left: var(--mobile-spacing-md) !important;
    width: auto !important;
    max-height: 60vh !important;
  }
  
  /* Chat interfaces */
  .chat-container {
    height: 70vh !important;
    max-height: 500px !important;
  }
  
  .chat-input {
    padding: var(--mobile-spacing-md) !important;
  }
  
  /* Pricing tables */
  .pricing-grid {
    grid-template-columns: 1fr !important;
    gap: var(--mobile-spacing-lg) !important;
  }
  
  .pricing-card {
    margin: 0 var(--mobile-spacing-md) var(--mobile-spacing-lg) !important;
  }
  
  /* Feature grids */
  .features-grid {
    grid-template-columns: 1fr !important;
    gap: var(--mobile-spacing-lg) !important;
  }
  
  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: 1fr !important;
  }
  
  /* Stats sections */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: var(--mobile-spacing-md) !important;
  }
}

/* ========== UTILITIES ========== */
@media (max-width: 639px) {
  /* Hide on mobile */
  .hidden-mobile {
    display: none !important;
  }
  
  /* Show only on mobile */
  .mobile-only {
    display: block !important;
  }
  
  /* Text alignment */
  .mobile-text-center {
    text-align: center !important;
  }
  
  .mobile-text-left {
    text-align: left !important;
  }
  
  /* Spacing utilities */
  .mobile-p-0 { padding: 0 !important; }
  .mobile-p-1 { padding: var(--mobile-spacing-xs) !important; }
  .mobile-p-2 { padding: var(--mobile-spacing-sm) !important; }
  .mobile-p-4 { padding: var(--mobile-spacing-md) !important; }
  .mobile-p-6 { padding: var(--mobile-spacing-lg) !important; }
  .mobile-p-8 { padding: var(--mobile-spacing-xl) !important; }
  
  .mobile-m-0 { margin: 0 !important; }
  .mobile-m-1 { margin: var(--mobile-spacing-xs) !important; }
  .mobile-m-2 { margin: var(--mobile-spacing-sm) !important; }
  .mobile-m-4 { margin: var(--mobile-spacing-md) !important; }
  .mobile-m-6 { margin: var(--mobile-spacing-lg) !important; }
  .mobile-m-8 { margin: var(--mobile-spacing-xl) !important; }
  
  /* Width utilities */
  .mobile-w-full { width: 100% !important; }
  .mobile-w-auto { width: auto !important; }
  
  /* Height utilities */
  .mobile-h-auto { height: auto !important; }
  .mobile-h-screen { height: 100vh !important; }
}

/* ========== TABLET STYLES ========== */
@media (min-width: 640px) and (max-width: 1023px) {
  /* Show desktop elements, hide mobile-only */
  .mobile-only {
    display: none !important;
  }
  
  /* Grid adjustments for tablet */
  .grid-cols-4 {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  
  .grid-cols-6 {
    grid-template-columns: repeat(3, 1fr) !important;
  }
  
  /* Container padding */
  .container {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
}

/* ========== DESKTOP STYLES ========== */
@media (min-width: 1024px) {
  /* Hide mobile-only elements */
  .mobile-only,
  .hidden-desktop {
    display: none !important;
  }
  
  /* Show desktop elements */
  .desktop-only {
    display: block !important;
  }
}

/* ========== ACCESSIBILITY ========== */
@media (max-width: 639px) {
  /* Focus improvements */
  *:focus {
    outline: 2px solid #3b82f6 !important;
    outline-offset: 2px !important;
  }
  
  /* Reduce motion for users who prefer it */
  @media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
  }
  
  /* High contrast mode support */
  @media (prefers-contrast: high) {
    button,
    .btn {
      border: 2px solid currentColor !important;
    }
  }
}

/* ========== PERFORMANCE OPTIMIZATIONS ========== */
@media (max-width: 639px) {
  /* Optimize animations for mobile */
  .animate-fade,
  .animate-slide {
    animation-duration: 0.2s !important;
  }
  
  /* Reduce blur effects on low-end devices */
  .backdrop-blur {
    backdrop-filter: blur(8px) !important;
  }
  
  /* Optimize shadows */
  .shadow-lg {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important;
  }
  
  .shadow-xl {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15) !important;
  }
}

/* ========== PRINT STYLES ========== */
@media print {
  /* Hide interactive elements */
  button,
  .btn,
  .mobile-menu,
  .sidebar,
  .ai-assistant {
    display: none !important;
  }
  
  /* Optimize for printing */
  * {
    background: white !important;
    color: black !important;
  }
  
  .container {
    max-width: none !important;
    padding: 0 !important;
  }
}
/* 
  ===========================================
  🔘 BUTTON COMPONENTS
  ===========================================
  Reusable button styles and variations
*/

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.6s;
}

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
  background: #f3f4f6;
  color: #111827;
}

.btn-secondary:hover {
  background: #e5e7eb;
}

.btn-outline {
  background: white;
  color: #374151;
  border: 1px solid #d1d5db;
}

.btn-outline:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-primary {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(59, 130, 246, 0.4);
}

.btn-enhanced {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn-enhanced::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s;
}

.btn-enhanced:hover::before {
  left: 100%;
}

/* Specialized buttons */
.glow-button {
  position: relative;
  overflow: hidden;
}

.glow-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.glow-button:hover::before {
  left: 100%;
}

.magnetic-button {
  transition: transform 0.2s ease-out;
}

.magnetic-button:hover {
  transform: scale(1.05) translateY(-2px);
}

/* Floating Action Buttons */
.ai-assistant-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 40;
  width: 3.5rem;
  height: 3.5rem;
  background: linear-gradient(to right, #9333ea, #2563eb);
  color: white;
  border: none;
  border-radius: 50%;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.ai-assistant-fab:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  transform: scale(1.05);
}

.ai-assistant-fab svg {
  transition: transform 0.3s ease;
}

.ai-assistant-fab:hover svg {
  transform: scale(1.1);
}

.quick-add-button {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 40;
  width: 3.5rem;
  height: 3.5rem;
  background: linear-gradient(to right, #9333ea, #2563eb);
  color: white;
  border: none;
  border-radius: 50%;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.quick-add-button:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  transform: scale(1.05);
}

.quick-add-button svg {
  transition: transform 0.3s ease;
}

.quick-add-button:hover svg {
  transform: scale(1.1);
}
/* Modal and overlay styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  z-index: 50;
  animation: modalFadeIn 0.2s ease-out;
  padding: 2rem 1rem;
  box-sizing: border-box;
  padding-top: 10vh;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-container {
  background: white;
  border-radius: 1.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  max-width: 90vw;
  max-height: 80vh;
  overflow: auto;
  animation: modalSlideIn 0.3s ease-out;
  position: relative;
  margin: 0 auto;
}

/* Allow ultra size modals to use full width */
.ai-call-script-modal .modal-container {
  max-width: calc(100vw - 40px) !important;
  width: calc(100vw - 40px) !important;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-header {
  padding: 2rem 2rem 0 2rem;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 1.5rem;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #f3f4f6;
  border: none;
  border-radius: 0.5rem;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #6b7280;
}

.modal-close:hover {
  background: #e5e7eb;
  color: #374151;
}

.modal-body {
  padding: 0 2rem 2rem 2rem;
}

/* AI Assistant Modal specific styles */
.ai-modal-container {
  width: 95vw;
  max-width: 48rem;
  height: 85vh;
  max-height: 42rem;
  display: flex;
  flex-direction: column;
}

.ai-modal-header {
  padding: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.ai-modal-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ai-modal-icon {
  width: 2rem;
  height: 2rem;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.ai-chat-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.ai-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ai-message {
  display: flex;
  gap: 0.75rem;
}

.ai-message.user {
  flex-direction: row-reverse;
}

.ai-message-avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  flex-shrink: 0;
}

.ai-message.user .ai-message-avatar {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.ai-message.assistant .ai-message-avatar {
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
}

.ai-message-content {
  background: #f3f4f6;
  padding: 0.75rem 1rem;
  border-radius: 1rem;
  max-width: 70%;
  word-wrap: break-word;
}

.ai-message.user .ai-message-content {
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  color: white;
}

.ai-message.assistant .ai-message-content {
  background: #f3f4f6;
  color: #374151;
}

.ai-chat-input-container {
  border-top: 1px solid #e5e7eb;
  padding: 1rem;
  flex-shrink: 0;
}

.ai-chat-input-form {
  display: flex;
  gap: 0.75rem;
  align-items: flex-end;
}

.ai-chat-input {
  flex: 1;
  border: 1px solid #d1d5db;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  resize: none;
  max-height: 6rem;
  min-height: 2.5rem;
  font-family: inherit;
  font-size: 0.875rem;
  line-height: 1.5;
  transition: all 0.2s ease;
}

.ai-chat-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.ai-chat-send-btn {
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  color: white;
  border: none;
  border-radius: 0.75rem;
  padding: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
}

.ai-chat-send-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  transform: translateY(-1px);
}

.ai-chat-send-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.ai-chat-send {
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  color: white;
  border: none;
  border-radius: 0.75rem;
  padding: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
}

.ai-chat-send:hover {
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  transform: translateY(-1px);
}

.ai-chat-send:disabled {
  background: #9ca3af;
  cursor: not-allowed;
  transform: none;
}

/* Contact Sales Modal styles */
.contact-modal-container {
  width: 90vw;
  max-width: 32rem;
}

.contact-modal-body {
  padding: 1.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-form-label {
  font-weight: 600;
  color: #374151;
  font-size: 0.875rem;
}

.contact-form-input {
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  transition: all 0.2s ease;
}

.contact-form-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.contact-form-textarea {
  min-height: 6rem;
  resize: vertical;
  font-family: inherit;
}

.contact-form-submit {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
  border: none;
  border-radius: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 0.5rem;
}

.contact-form-submit:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}
