/* UniRoomi Authentication Styles */

/* Button 75 Styles */
.button-75 {
  align-items: center;
  background-image: linear-gradient(135deg, #2BA2D8 40%, #1E7BA8);
  border: 0;
  border-radius: 10px;
  box-sizing: border-box;
  color: #000;
  cursor: pointer;
  display: flex;
  flex-direction: row;
  font-family: "Codec cold",sans-serif;
  font-size: 14px;
  font-weight: 700;
  height: 45px;
  justify-content: center;
  letter-spacing: .4px;
  line-height: 1;
  max-width: 100%;
  padding-left: 16px;
  padding-right: 16px;
  padding-top: 0;
  text-decoration: none;
  text-transform: uppercase;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  margin-top: 20px;
}

.button-75:active {
  outline: 0;
}

.button-75:hover {
  outline: 0;
  background-image: linear-gradient(135deg, #1E7BA8 40%, #165a7e);
}

.button-75 span {
  transition: all 200ms;
  display: flex;
  align-items: center;
  gap: 6px;
}

.button-75 span i {
  font-size: 0.95em;
}

.button-75:hover span {
  transform: scale(.9);
  opacity: .75;
}

@media screen and (max-width: 991px) {
  .button-75 {
    font-size: 12px;
    height: 45px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .button-75 span {
    line-height: 45px;
  }
}

/* Navbar Avatar Styles */
.avatar-wrapper {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e8efff;
  border: 2px solid var(--primary, #2563eb);
}

.avatar-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-initials {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary, #2563eb);
  font-family: "Poppins", sans-serif;
  text-transform: uppercase;
  line-height: 1;
}

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(4px);
}

.modal-container {
  background: white;
  border-radius: 12px;
  padding: 0;
  max-width: 450px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Modal Header */
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 24px 0;
  border-bottom: 1px solid #eee;
  margin-bottom: 20px;
}

.modal-header h2 {
  margin: 0;
  color: #333;
  font-size: 24px;
  font-weight: 600;
}

.modal-close {
  background: none;
  border: none;
  font-size: 28px;
  color: #999;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: #f5f5f5;
  color: #333;
}

/* Email Verification Styles */
.email-verification-notice {
  background: #e8f4fd;
  border: 1px solid #bee5eb;
  border-radius: 8px;
  padding: 16px;
  margin: 16px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.email-verification-notice i {
  color: #17a2b8;
  font-size: 20px;
}

.email-verification-notice p {
  margin: 0;
  color: #0c5460;
  font-size: 14px;
}

.verification-content {
  text-align: center;
  padding: 32px 24px;
}

.email-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.email-icon i {
  color: white;
  font-size: 32px;
}

.instruction-text {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 32px;
}

.verification-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.verification-actions .theme_btn {
  width: 100%;
  max-width: 280px;
}

.verification-actions a {
  color: #667eea;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.verification-actions a:hover {
  color: #764ba2;
  text-decoration: underline;
}

.email-note {
  margin-top: 24px;
  padding: 16px;
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 8px;
}

.email-note p {
  margin: 0;
  color: #856404;
  font-size: 14px;
}

.modal-header h2 {
  margin: 0;
  color: #333;
  font-size: 24px;
  font-weight: 600;
}

.modal-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: #f5f5f5;
  color: #333;
}

/* Authentication Forms */
.auth-form {
  padding: 0 24px;
}

.form-row {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-row .form-group {
  flex: 1;
  margin-bottom: 0;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #333;
  font-weight: 600;
  font-size: 14px;
}

.form-group label[for="registerRole"] {
  color: #2563eb;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-group label[for="registerRole"]::before {
  content: "👥";
  font-size: 16px;
}

.form-group input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e1e1e1;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}

.form-group input:focus {
  outline: none;
  border-color: #4cd3e2;
  box-shadow: 0 0 0 3px rgba(76, 211, 226, 0.1);
}

.form-group select.form-select {
  width: 100%;
  padding: 14px 40px 14px 16px;
  border: 2px solid #e1e1e1;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
  background-color: white;
  cursor: pointer;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  text-indent: 0;
  text-shadow: none;
  line-height: 1.4;
  height: auto;
  min-height: 48px;
}

.form-group select.form-select:focus {
  outline: none;
  border-color: #4cd3e2;
  box-shadow: 0 0 0 3px rgba(76, 211, 226, 0.1);
}

.form-group select.form-select:hover {
  border-color: #d1d1d1;
}

.form-group select.form-select option {
  padding: 12px;
  font-weight: 500;
  color: #333;
  background-color: white;
}

.host-notice {
  background: #f0f9ff;
  border: 1px solid #0284c7;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.host-notice i {
  color: #0284c7;
  font-size: 18px;
  flex-shrink: 0;
}

.host-notice p {
  margin: 0;
  color: #0c4a6e;
  font-size: 14px;
  line-height: 1.4;
}

.host-login-notice {
  background: #f0fdf4;
  border: 1px solid #16a34a;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.host-login-notice i {
  color: #16a34a;
  font-size: 18px;
  flex-shrink: 0;
}

.host-login-notice p {
  margin: 0;
  color: #14532d;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 500;
}

.auth-submit-btn {
  width: 100%;
  background: #4cd3e2;
  color: white;
  border: none;
  padding: 14px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 20px;
}

.auth-submit-btn:hover:not(:disabled) {
  background: #2ea8b6;
  transform: translateY(-1px);
}

.auth-submit-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
}

/* Error and Success Messages */
.error-message {
  background: #fee;
  color: #c33;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #fcc;
  font-size: 14px;
}

.success-message {
  background: #e8f5e8;
  color: #2d5a2d;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #c3e6c3;
  font-size: 14px;
}

/* Modal Footer */
.modal-footer {
  padding: 20px 24px 24px;
  border-top: 1px solid #eee;
  text-align: center;
}

.modal-footer p {
  margin: 8px 0;
  color: #666;
  font-size: 14px;
}

.modal-footer a {
  color: #4cd3e2;
  text-decoration: none;
  transition: color 0.3s ease;
}

.modal-footer a:hover {
  color: #2ea8b6;
  text-decoration: underline;
}

/* Two Factor Authentication */
.two-factor-content {
  padding: 0 24px;
  text-align: center;
}

.security-icon {
  font-size: 48px;
  color: #4cd3e2;
  margin-bottom: 20px;
}

.instruction-text {
  color: #666;
  font-size: 16px;
  margin-bottom: 16px;
  line-height: 1.5;
}

.user-info {
  color: #333;
  font-size: 14px;
  margin-bottom: 24px;
  background: #f8f9fa;
  padding: 12px;
  border-radius: 8px;
}

#verificationCode {
  font-size: 20px;
  text-align: center;
  letter-spacing: 4px;
  font-weight: 600;
}

.two-factor-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding: 0 24px;
}

.two-factor-footer a {
  color: #4cd3e2;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.two-factor-footer a:hover {
  color: #2ea8b6;
}

.demo-note {
  background: #e8f5e8;
  border: 1px solid #c3e6c3;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 24px;
}

.demo-note p {
  margin: 0;
  color: #2d5a2d;
  font-size: 13px;
}

.demo-note code {
  background: #f0f0f0;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: monospace;
  font-weight: bold;
}

.sms-note {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 24px;
}

.sms-note p {
  margin: 0;
  color: #856404;
  font-size: 13px;
}

/* Two Factor Notice */
.two-factor-notice {
  background: #f0f8ff;
  border: 1px solid #d0e8ff;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.two-factor-notice i {
  color: #4cd3e2;
  font-size: 16px;
  margin-top: 2px;
}

.two-factor-notice p {
  margin: 0;
  color: #333;
  font-size: 14px;
  line-height: 1.4;
}

/* User Menu */
.user-menu {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-welcome {
  color: #2BA2D8 !important;
  font-weight: 600;
  padding: 10px 20px !important;
  background: #ffffff;
  border-radius: 12px;
  font-size: 14px;
  border: 2px solid #2BA2D8 !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(43, 162, 216, 0.15);
  display: inline-block;
  vertical-align: middle;
  line-height: 20px;
  min-width: 140px;
  text-align: center;
}

.user-welcome:hover {
  background: #f8f9fa !important;
  color: #2BA2D8 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(43, 162, 216, 0.25);
}

.logout-btn {
  background: #dc3545 !important;
  color: white !important;
  border: none !important;
  padding: 10px 20px !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  text-decoration: none !important;
  display: inline-block !important;
  cursor: pointer;
  transition: all 0.3s ease !important;
  box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
}

.logout-btn:hover {
  background: #c82333 !important;
  color: white !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
}

.logout-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(220, 53, 69, 0.3);
}

/* User Menu Items Spacing */
.navbar .nav-item .theme_btn_two {
  margin: 0 3px !important;
  transform: translateY(20px);
}

/* Custom SVG Notification Bell */
.notification-bell {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  margin: 0 3px !important;
  height: 46px;
  transform: translateY(20px);
}

.notification-bell .notification {
  position: relative;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notification-bell .notification svg {
  width: 30px;
  height: 30px;
}

.notification-bell .notification svg > path {
  fill: #333;
  transition: fill 0.3s ease;
}

.notification-bell:hover .notification svg > path {
  fill: #2BA2D8;
}

.notification-bell .notification--bell {
  animation: bell 2.2s linear infinite;
  transform-origin: 50% 0%;
}

.notification-bell .notification--bellClapper {
  animation: bellClapper 2.2s 0.1s linear infinite;
}

.notification-bell .notification--num {
  position: absolute;
  top: 0%;
  left: 60%;
  font-size: 10px;
  border-radius: 50%;
  width: 14px;
  height: 14px;
  background-color: #dc3545;
  border: 2px solid #f8f9fa;
  color: #FFFFFF;
  text-align: center;
  line-height: 14px;
  font-weight: bold;
  animation: notification 3.2s ease;
}

@keyframes bell {
  0%, 25%, 75%, 100% {
    transform: rotate(0deg);
  }
  40% {
    transform: rotate(2deg);
  }
  45% {
    transform: rotate(-2deg);
  }
  55% {
    transform: rotate(1deg);
  }
  60% {
    transform: rotate(-1deg);
  }
}

@keyframes bellClapper {
  0%, 25%, 75%, 100% {
    transform: translateX(0);
  }
  40% {
    transform: translateX(-2px);
  }
  45% {
    transform: translateX(2px);
  }
  55% {
    transform: translateX(-1px);
  }
  60% {
    transform: translateX(1px);
  }
}

@keyframes notification {
  0%, 25%, 75%, 100% {
    opacity: 1;
  }
  30%, 70% {
    opacity: 0;
  }
}

/* Profile Dropdown */
.navbar .nav-item .dropdown-menu {
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  padding: 10px 0;
  margin-top: 15px;
  min-width: 220px;
}

.navbar .nav-item .dropdown-item {
  padding: 12px 20px;
  font-size: 14px;
  color: #333;
  transition: all 0.3s ease;
  border-radius: 8px;
  margin: 2px 10px;
}

.navbar .nav-item .dropdown-item:hover {
  background: #f8f9fa;
  color: #2BA2D8;
  transform: translateX(5px);
}

.navbar .nav-item .dropdown-item i {
  width: 20px;
  margin-right: 10px;
  color: #2BA2D8;
}

.navbar .nav-item .dropdown-divider {
  margin: 10px 15px;
  border-color: #f0f0f0;
}

.navbar .nav-item .dropdown-item.logout-btn {
  color: white !important;
  background: #dc3545 !important;
  font-weight: 600 !important;
}

.navbar .nav-item .dropdown-item.logout-btn:hover {
  background: #c82333 !important;
  color: white !important;
}

.navbar .nav-item .dropdown-item.logout-btn i {
  color: white !important;
}

/* Profile Avatar */
.profile-avatar {
  padding: 0 !important;
  margin: 0 3px !important;
  border-radius: 50% !important;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  transform: translateY(-2px);
}

.profile-avatar:hover {
  transform: translateY(-2px) scale(1.05);
}

.avatar-initials {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #2BA2D8;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: "Poppins", sans-serif;
}

/* Profile Dropdown Toggle */
.navbar .nav-item .dropdown-toggle {
  color: #333 !important;
  font-weight: 500;
  padding: 10px 15px !important;
  margin: 15px 0 !important;
  border-radius: 8px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar .nav-item .dropdown-toggle:hover {
  background: #f8f9fa !important;
  color: #2BA2D8 !important;
}

.navbar .nav-item .dropdown-toggle::after {
  margin-left: 5px;
}

/* Mobile Profile Menu Styles */
.mobile-profile-menu {
  padding: 20px 15px;
  border-bottom: 1px solid #eee;
  background: #f8f9fa;
}

.mobile-profile-header {
  display: flex;
  align-items: center;
  gap: 15px;
}

.mobile-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e8efff;
  border: 2px solid var(--primary, #2563eb);
  flex-shrink: 0;
}

.mobile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mobile-avatar-initials {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary, #2563eb);
  font-family: "Poppins", sans-serif;
  text-transform: uppercase;
}

.mobile-user-info {
  flex: 1;
  min-width: 0;
}

.mobile-user-name {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mobile-user-email {
  font-size: 14px;
  color: #666;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mobile-menu-item {
  border-bottom: 1px solid #f0f0f0;
}

.mobile-menu-item:last-child {
  border-bottom: none;
}

.mobile-menu-item .nav-link {
  padding: 15px 20px !important;
  color: #333 !important;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
}

.mobile-menu-item .nav-link:hover {
  background: #f8f9fa !important;
  color: var(--primary, #2563eb) !important;
  padding-left: 25px !important;
}

.mobile-menu-item .nav-link i {
  width: 20px;
  text-align: center;
  color: var(--primary, #2563eb);
}

.navbar .nav-item .mobile-logout {
  background: #dc3545 !important;
  color: white !important;
  margin: 10px 15px !important;
  padding: 8px 16px !important;
  border-radius: 4px !important;
  text-align: center !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  min-height: auto !important;
  height: auto !important;
  display: block !important;
}

.mobile-logout {
  background: #dc3545 !important;
  color: white !important;
  margin: 10px 15px !important;
  padding: 8px 16px !important;
  border-radius: 4px !important;
  text-align: center !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  min-height: auto !important;
  height: auto !important;
}

.mobile-logout:hover {
  background: #c82333 !important;
  color: white !important;
}

.mobile-logout i {
  color: white !important;
}

/* Hide mobile menu on desktop */
@media (min-width: 992px) {
  .mobile-profile-menu,
  .mobile-menu-item {
    display: none !important;
  }
}

/* Show mobile menu only on mobile and hide desktop items */
@media (max-width: 991px) {
  .mobile-profile-menu,
  .mobile-menu-item {
    display: block;
  }
  
  /* Hide desktop navbar items on mobile */
  .navbar .nav-item .theme_btn_two,
  .notification-bell,
  .profile-avatar {
    display: none !important;
  }
}

/* ==================== MESSAGING SYSTEM STYLES ==================== */

.dashboard-messages-container {
  max-height: 400px;
  overflow-y: auto;
  padding: 10px 0;
}

.loading-messages {
  text-align: center;
  color: #666;
  font-style: italic;
  padding: 20px;
}

.dashboard-message {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 15px;
  transition: all 0.3s ease;
  position: relative;
}

.dashboard-message.unread {
  background: #f8f9ff;
  border-left: 4px solid var(--primary, #2563eb);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.1);
}

.dashboard-message.read {
  opacity: 0.8;
  border-left: 4px solid #e9ecef;
}

.dashboard-message:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.message-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}

.message-sender {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.sender-avatar {
  font-size: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--primary, #2563eb);
}

.message-sender strong {
  color: #333;
  font-size: 14px;
  font-weight: 600;
}

.priority-badge {
  background: #dc3545;
  color: white;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 10px;
  margin-left: 8px;
  font-weight: 500;
}

.message-time {
  color: #666;
  font-size: 12px;
  font-weight: 500;
}

.message-subject {
  color: #333;
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 8px;
}

.message-content {
  color: #555;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 12px;
}

.message-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #f0f0f0;
}

.message-action-btn {
  background: none;
  border: 1px solid #ddd;
  color: #666;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.message-action-btn:hover {
  background: var(--primary, #2563eb);
  color: white;
  border-color: var(--primary, #2563eb);
}

/* Welcome message specific styling */
.dashboard-message.welcome {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
}

.dashboard-message.welcome .message-sender strong,
.dashboard-message.welcome .message-subject,
.dashboard-message.welcome .message-content {
  color: white;
}

.dashboard-message.welcome .message-time {
  color: rgba(255, 255, 255, 0.8);
}

.dashboard-message.welcome .sender-avatar {
  background: rgba(255, 255, 255, 0.2);
  border-color: white;
}

.dashboard-message.welcome .message-action-btn {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  color: white;
}

.dashboard-message.welcome .message-action-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: white;
}

/* Mobile responsive messaging */
@media (max-width: 768px) {
  .dashboard-message {
    padding: 12px;
    margin-bottom: 10px;
  }
  
  .message-header {
    flex-direction: column;
    gap: 8px;
  }
  
  .message-sender {
    width: 100%;
  }
  
  .message-actions {
    flex-direction: column;
    gap: 8px;
  }
  
  .message-action-btn {
    width: 100%;
    text-align: center;
  }
}

/* ==================== BOOKING SYSTEM STYLES ==================== */

.dashboard-bookings-container {
  max-height: 500px;
  overflow-y: auto;
  padding: 10px 0;
}

.loading-bookings {
  text-align: center;
  color: #666;
  font-style: italic;
  padding: 20px;
}

.no-bookings {
  text-align: center;
  color: #666;
  padding: 40px 20px;
  font-style: italic;
}

.dashboard-booking {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 15px;
  transition: all 0.3s ease;
  position: relative;
}

.dashboard-booking.pending {
  background: #fff3cd;
  border-left: 4px solid #ffc107;
  box-shadow: 0 2px 8px rgba(255, 193, 7, 0.2);
}

.dashboard-booking.confirmed {
  background: #d4edda;
  border-left: 4px solid #28a745;
  box-shadow: 0 2px 8px rgba(40, 167, 69, 0.2);
}

.dashboard-booking.cancelled {
  background: #f8d7da;
  border-left: 4px solid #dc3545;
  opacity: 0.7;
}

.dashboard-booking:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.booking-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.booking-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.booking-property strong {
  color: #333;
  font-size: 16px;
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

.booking-property p {
  color: #666;
  font-size: 14px;
  margin-bottom: 8px;
}

.booking-details {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.room-type {
  background: #e9ecef;
  color: #495057;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
}

.price {
  background: #28a745;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

.status-badge {
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.status-badge.pending {
  background: #ffc107;
  color: #856404;
}

.status-badge.confirmed {
  background: #28a745;
  color: white;
}

.status-badge.cancelled {
  background: #dc3545;
  color: white;
}

.status-badge.rejected {
  background: #6c757d;
  color: white;
}

.booking-host {
  border-top: 1px solid #f0f0f0;
  padding-top: 12px;
}

.host-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.host-avatar-small {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f8f9fa;
  border: 2px solid var(--primary, #2563eb);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary, #2563eb);
}

.host-name {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.request-time {
  font-size: 12px;
  color: #666;
}

/* Favorite Heart Icon */
.favorite-heart {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 2px solid #e9ecef;
}

.favorite-heart:hover {
  background: white;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.favorite-heart i {
  font-size: 14px;
  color: #6c757d;
  transition: all 0.3s ease;
}

.favorite-heart:hover i {
  color: #dc3545;
}

.favorite-heart.favorited {
  background: #dc3545;
  border-color: #dc3545;
}

.favorite-heart.favorited i {
  color: white;
}

.favorite-heart.favorited:hover {
  background: #c82333;
  border-color: #c82333;
  transform: scale(1.1);
}

/* Favorite Notifications */
.favorite-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 12px 20px;
  border-radius: 8px;
  color: white;
  font-size: 14px;
  font-weight: 500;
  z-index: 10002;
  animation: slideInRight 0.3s ease-out;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.favorite-notification.success {
  background: #28a745;
}

.favorite-notification.info {
  background: #17a2b8;
}

.favorite-notification .notification-content {
  display: flex;
  align-items: center;
  gap: 8px;
}

.favorite-notification.success .notification-content::before {
  content: '❤️';
  font-size: 16px;
}

.favorite-notification.info .notification-content::before {
  content: '💔';
  font-size: 16px;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Mobile Responsive for Heart Icon */
@media (max-width: 768px) {
  .favorite-heart {
    width: 36px;
    height: 36px;
    top: 12px;
    right: 12px;
  }
  
  .favorite-heart i {
    font-size: 16px;
  }
  
  .favorite-notification {
    right: 10px;
    left: 10px;
    max-width: none;
  }
}

/* Accommodation Favorite Heart Icon */
.accommodation-favorite-heart {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 2px solid #e9ecef;
}

.accommodation-favorite-heart:hover {
  background: white;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.accommodation-favorite-heart i {
  font-size: 14px;
  color: #6c757d;
  transition: all 0.3s ease;
}

.accommodation-favorite-heart:hover i {
  color: #dc3545;
}

.accommodation-favorite-heart.favorited {
  background: #dc3545;
  border-color: #dc3545;
}

.accommodation-favorite-heart.favorited i {
  color: white;
}

.accommodation-favorite-heart.favorited:hover {
  background: #c82333;
  border-color: #c82333;
  transform: scale(1.1);
}

/* Accommodation Favorite Notifications */
.accommodation-favorite-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 12px 20px;
  border-radius: 8px;
  color: white;
  font-size: 14px;
  font-weight: 500;
  z-index: 10002;
  animation: slideInRight 0.3s ease-out;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.accommodation-favorite-notification.success {
  background: #28a745;
}

.accommodation-favorite-notification.info {
  background: #17a2b8;
}

.accommodation-favorite-notification .notification-content {
  display: flex;
  align-items: center;
  gap: 8px;
}

.accommodation-favorite-notification.success .notification-content::before {
  content: '❤️';
  font-size: 16px;
}

.accommodation-favorite-notification.info .notification-content::before {
  content: '💔';
  font-size: 16px;
}

/* Mobile Responsive for Accommodation Heart Icon */
@media (max-width: 768px) {
  .accommodation-favorite-heart {
    width: 36px;
    height: 36px;
    top: 8px;
    right: 8px;
  }
  
  .accommodation-favorite-heart i {
    font-size: 16px;
  }
  
  .accommodation-favorite-notification {
    right: 10px;
    left: 10px;
    max-width: none;
  }
}

/* Dashboard Saved Properties */
.dashboard-saved-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  padding: 20px 0;
}

.dashboard-property {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
}

.dashboard-property:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.property-image {
  width: 100%;
  height: 180px;
  background-size: cover;
  background-position: center;
  background-color: #f8f9fa;
  position: relative;
}

.property-overlay {
  position: absolute;
  top: 0;
  right: 0;
  padding: 10px;
  display: flex;
  justify-content: flex-end;
}

.remove-saved-btn {
  width: 32px;
  height: 32px;
  background: rgba(220, 53, 69, 0.9);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 12px;
}

.remove-saved-btn:hover {
  background: #dc3545;
  transform: scale(1.1);
}

.property-content {
  padding: 15px;
}

.property-content strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
  line-height: 1.3;
}

.property-content p {
  color: #666;
  font-size: 14px;
  margin-bottom: 12px;
  line-height: 1.4;
}

.no-saved-properties {
  text-align: center;
  color: #666;
  font-style: italic;
  padding: 40px 20px;
  grid-column: 1 / -1;
}

.loading-saved-properties {
  text-align: center;
  color: #666;
  font-style: italic;
  padding: 40px 20px;
  grid-column: 1 / -1;
}

/* Mobile Responsive for Saved Properties */
@media (max-width: 768px) {
  .dashboard-saved-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 15px 0;
  }
  
  .property-image {
    height: 160px;
  }
  
  .property-content {
    padding: 12px;
  }
  
  .property-content strong {
    font-size: 15px;
  }
  
  .property-content p {
    font-size: 13px;
  }
}

/* Navbar Authentication Styles */
.user-profile-dropdown {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.user-profile-dropdown:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.user-avatar-small {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #2563eb;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
}

.user-avatar-small img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

#navbarUserName {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 120px;
}

.profile-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border: 1px solid #e9ecef;
  min-width: 180px;
  z-index: 1000;
  display: none;
}

.user-profile-dropdown:hover .profile-dropdown {
  display: block;
}

.profile-dropdown li {
  border-bottom: 1px solid #f1f3f4;
}

.profile-dropdown li:last-child {
  border-bottom: none;
}

.profile-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  transition: background-color 0.2s ease;
}

.profile-dropdown a:hover {
  background-color: #f8f9fa;
  color: #2563eb;
}

.profile-dropdown a i {
  width: 16px;
  text-align: center;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  #navbarUserName {
    display: none;
  }
  
  .user-profile-dropdown {
    padding: 6px 8px;
  }
  
  .user-avatar-small {
    width: 28px;
    height: 28px;
    font-size: 11px;
  }
  
  .profile-dropdown {
    right: -10px;
    min-width: 160px;
  }
}

/* Remove Property Confirmation Modal */
.remove-property-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.remove-property-modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

.remove-property-modal-container {
  background: white;
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  transform: scale(0.9) translateY(20px);
  transition: all 0.3s ease;
}

.remove-property-modal-overlay.show .remove-property-modal-container {
  transform: scale(1) translateY(0);
}

.remove-property-modal-header {
  text-align: center;
  padding: 30px 30px 20px;
  border-bottom: 1px solid #e9ecef;
}

.remove-property-modal-icon {
  width: 60px;
  height: 60px;
  background: #dc3545;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  animation: pulse 2s infinite;
}

.remove-property-modal-icon i {
  font-size: 24px;
  color: white;
}

.remove-property-modal-header h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: #333;
}

.remove-property-modal-body {
  padding: 20px 30px;
}

.remove-property-modal-body p {
  margin: 0 0 20px 0;
  font-size: 16px;
  color: #666;
  text-align: center;
  line-height: 1.5;
}

.remove-property-details {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 15px;
  margin: 20px 0;
}

.remove-property-details .detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #e9ecef;
}

.remove-property-details .detail-item:last-child {
  border-bottom: none;
}

.remove-property-details .detail-item strong {
  color: #333;
  font-weight: 600;
}

.remove-property-details .detail-item span {
  color: #666;
  text-align: right;
}

.warning-text {
  color: #6c757d !important;
  font-weight: 500;
  text-align: center;
  margin: 20px 0 0 0 !important;
  font-size: 14px;
}

.warning-text i {
  margin-right: 8px;
  color: #17a2b8;
}

.remove-property-modal-footer {
  padding: 20px 30px 30px;
  display: flex;
  gap: 12px;
  justify-content: center;
}

.remove-property-modal-btn {
  padding: 12px 24px;
  border-radius: 8px;
  border: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 140px;
  justify-content: center;
}

.remove-property-modal-btn.keep-btn {
  background: #6c757d;
  color: white;
}

.remove-property-modal-btn.keep-btn:hover {
  background: #5a6268;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

.remove-property-modal-btn.remove-btn {
  background: #dc3545;
  color: white;
  border: 1px solid #dc3545;
}

.remove-property-modal-btn.remove-btn:hover {
  background: #c82333;
  border-color: #c82333;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.remove-property-modal-btn:active {
  transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .remove-property-modal-container {
    width: 95%;
    margin: 20px;
  }
  
  .remove-property-modal-header,
  .remove-property-modal-body,
  .remove-property-modal-footer {
    padding: 20px;
  }
  
  .remove-property-modal-footer {
    flex-direction: column;
  }
  
  .remove-property-modal-btn {
    width: 100%;
    min-width: auto;
  }
  
  .remove-property-details .detail-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  
  .remove-property-details .detail-item span {
    text-align: left;
  }
}

/* Profile Form Styles */
.profile-form .form-control {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  transition: border-color 0.3s ease;
  background: white;
}

.profile-form .form-control:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
}

.profile-form select.form-control {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 10px center;
  background-repeat: no-repeat;
  background-size: 16px;
  padding-right: 40px;
  appearance: none;
}

.profile-form select.form-control::-ms-expand {
  display: none;
}

.profile-form .form-group {
  margin-bottom: 20px;
}

.profile-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  color: #333;
  font-size: 14px;
}

/* Dashboard Welcome Message */
.dashboard-header h1 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: #333;
  line-height: 1.3;
}

.dashboard-header p {
  margin: 8px 0 0 0;
  font-size: 16px;
  color: #666;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .dashboard-header h1 {
    font-size: 20px;
  }
  
  .dashboard-header p {
    font-size: 14px;
  }
}

/* Cancel Confirmation Modal */
.cancel-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.cancel-modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

.cancel-modal-container {
  background: white;
  border-radius: 12px;
  max-width: 420px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  transform: scale(0.9) translateY(20px);
  transition: all 0.3s ease;
}

.cancel-modal-overlay.show .cancel-modal-container {
  transform: scale(1) translateY(0);
}

.cancel-modal-header {
  text-align: center;
  padding: 20px 25px 15px;
  border-bottom: 1px solid #e9ecef;
}

.cancel-modal-icon {
  width: 50px;
  height: 50px;
  background: #ffc107;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  animation: pulse 2s infinite;
}

.cancel-modal-icon i {
  font-size: 20px;
  color: white;
}

.cancel-modal-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

.cancel-modal-body {
  padding: 15px 25px;
}

.cancel-modal-body p {
  margin: 0 0 15px 0;
  font-size: 15px;
  color: #666;
  text-align: center;
  line-height: 1.4;
}

.cancel-booking-details {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 12px;
  margin: 15px 0;
}

.cancel-booking-details .detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid #e9ecef;
}

.cancel-booking-details .detail-item:last-child {
  border-bottom: none;
}

.cancel-booking-details .detail-item strong {
  color: #333;
  font-weight: 600;
  font-size: 14px;
}

.cancel-booking-details .detail-item span {
  color: #666;
  text-align: right;
  font-size: 14px;
}

.warning-text {
  color: #6c757d !important;
  font-weight: 500;
  text-align: center;
  margin: 15px 0 0 0 !important;
  font-size: 13px;
}

.warning-text i {
  margin-right: 6px;
  color: #ffc107;
}

.cancel-modal-footer {
  padding: 15px 25px 20px;
  display: flex;
  gap: 10px;
  justify-content: center;
}

.cancel-modal-btn {
  padding: 10px 20px;
  border-radius: 8px;
  border: none;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 120px;
  justify-content: center;
}

.cancel-modal-btn.keep-btn {
  background: #6c757d;
  color: white;
}

.cancel-modal-btn.keep-btn:hover {
  background: #5a6268;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

.cancel-modal-btn.confirm-btn {
  background: #ffc107;
  color: #212529;
  border: 1px solid #ffc107;
}

.cancel-modal-btn.confirm-btn:hover {
  background: #e0a800;
  border-color: #d39e00;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

.cancel-modal-btn:active {
  transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .cancel-modal-container {
    width: 95%;
    margin: 20px;
  }
  
  .cancel-modal-header,
  .cancel-modal-body,
  .cancel-modal-footer {
    padding: 15px 20px;
  }
  
  .cancel-modal-footer {
    flex-direction: column;
  }
  
  .cancel-modal-btn {
    width: 100%;
    min-width: auto;
  }
  
  .cancel-booking-details .detail-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  
  .cancel-booking-details .detail-item span {
    text-align: left;
  }
}

.booking-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #f0f0f0;
}

/* Booking Confirmation Popup */
.booking-confirmation-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  animation: fadeIn 0.3s ease;
}

.confirmation-content {
  background: white;
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease;
}

.confirmation-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #f0f0f0;
}

.confirmation-header h3 {
  margin: 0;
  color: #333;
  font-size: 20px;
}

.close-btn {
  background: none;
  border: none;
  font-size: 24px;
  color: #666;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.close-btn:hover {
  background: #f0f0f0;
  color: #333;
}

.confirmation-body {
  padding: 20px;
}

.booking-summary {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 15px;
  margin: 15px 0;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #e9ecef;
}

.summary-item:last-child {
  border-bottom: none;
}

.summary-item .label {
  font-weight: 500;
  color: #666;
}

.summary-item .value {
  font-weight: 600;
  color: #333;
}

.status-pending {
  color: #856404 !important;
  font-weight: 600;
}

.redirect-message {
  text-align: center;
  color: #666;
  font-style: italic;
  margin-top: 15px;
}

/* Booking Notifications */
.booking-confirmation-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #28a745;
  color: white;
  padding: 16px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
  z-index: 9999;
  max-width: 350px;
  animation: slideInRight 0.3s ease;
}

.booking-confirmation-notification h4 {
  margin: 0 0 8px 0;
  font-size: 16px;
}

.booking-confirmation-notification p {
  margin: 0 0 12px 0;
  font-size: 14px;
}

.booking-confirmation-notification button {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  transition: all 0.3s ease;
}

.booking-confirmation-notification button:hover {
  background: rgba(255, 255, 255, 0.3);
}

.booking-cancellation-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #dc3545;
  color: white;
  padding: 16px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
  z-index: 9999;
  max-width: 300px;
  animation: slideInRight 0.3s ease;
}

.booking-cancellation-notification h4 {
  margin: 0 0 8px 0;
  font-size: 16px;
}

.booking-cancellation-notification p {
  margin: 0 0 12px 0;
  font-size: 14px;
}

.booking-cancellation-notification button {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  transition: all 0.3s ease;
}

.booking-cancellation-notification button:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { 
    transform: translateY(30px);
    opacity: 0;
  }
  to { 
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideInRight {
  from { 
    transform: translateX(100%);
    opacity: 0;
  }
  to { 
    transform: translateX(0);
    opacity: 1;
  }
}

/* Mobile responsive booking */
@media (max-width: 768px) {
  .dashboard-booking {
    padding: 12px;
  }
  
  .booking-main {
    flex-direction: column;
    gap: 8px;
  }
  
  .booking-actions {
    flex-direction: column;
    gap: 8px;
  }
  
  .booking-actions button {
    width: 100%;
    text-align: center;
  }
  
  .confirmation-content {
    width: 95%;
    margin: 10px;
  }
  
  .booking-confirmation-notification,
  .booking-cancellation-notification {
    right: 10px;
    left: 10px;
    max-width: none;
  }
}

/* Success Notification */
.success-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #28a745;
  color: white;
  padding: 16px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10000;
  animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.success-notification i {
  font-size: 18px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .user-stats {
    gap: 15px;
  }
  
  .stat-item {
    min-width: 100px;
    padding: 15px 10px;
  }
  
  .stat-item i {
    font-size: 20px;
  }
  
  .stat-number {
    font-size: 20px;
  }
  
  .stat-label {
    font-size: 10px;
  }
  
  .dashboard-card {
    padding: 20px;
  }
  
  .card-icon {
    font-size: 36px;
  }
  
  .modal-container {
    width: 95%;
    margin: 20px;
    max-height: 95vh;
  }
  
  .modal-header {
    padding: 20px 20px 0;
  }
  
  .auth-form {
    padding: 0 20px;
  }
  
  .modal-footer {
    padding: 20px;
  }
  
  .two-factor-content {
    padding: 0 20px;
  }
  
  .two-factor-footer {
    padding: 0 20px;
    flex-direction: column;
    gap: 12px;
  }
  
  .form-row {
    flex-direction: column;
    gap: 0;
  }
  
  .form-row .form-group {
    margin-bottom: 20px;
  }
  
  .user-menu {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
  
  .user-welcome {
    padding: 8px 16px !important;
    font-size: 12px;
    min-width: 120px;
    text-align: left;
  }
  
  .logout-btn {
    padding: 8px 16px !important;
    font-size: 12px;
    min-width: 80px;
    text-align: center;
  }
  
  .success-notification {
    right: 10px;
    left: 10px;
    top: 10px;
  }
}

@media (max-width: 480px) {
  .modal-container {
    width: 98%;
    margin: 10px;
  }
  
  .security-icon {
    font-size: 40px;
  }
  
  .modal-header h2 {
    font-size: 20px;
  }
}

/* Delete Button Styling */
.dashboard-btn.delete-btn {
  background: #dc3545 !important;
  color: white !important;
  border: 1px solid #dc3545 !important;
}

.dashboard-btn.delete-btn:hover {
  background: #c82333 !important;
  border-color: #c82333 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.dashboard-btn.delete-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(220, 53, 69, 0.3);
}

/* Deletion Notification */
.booking-deletion-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #dc3545;
  color: white;
  padding: 16px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
  z-index: 10000;
  max-width: 400px;
  animation: slideInRight 0.3s ease-out;
}

.booking-deletion-notification .notification-content h4 {
  margin: 0 0 8px 0;
  font-size: 16px;
  font-weight: 600;
}

.booking-deletion-notification .notification-content p {
  margin: 0 0 12px 0;
  font-size: 14px;
  line-height: 1.4;
}

.booking-deletion-notification .notification-content button {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.booking-deletion-notification .notification-content button:hover {
  background: rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
  .booking-deletion-notification {
    right: 10px;
    left: 10px;
    max-width: none;
  }
}

/* Delete Confirmation Modal */
.delete-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.delete-modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

.delete-modal-container {
  background: white;
  border-radius: 12px;
  max-width: 420px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  transform: scale(0.9) translateY(20px);
  transition: all 0.3s ease;
}

.delete-modal-overlay.show .delete-modal-container {
  transform: scale(1) translateY(0);
}

.delete-modal-header {
  text-align: center;
  padding: 20px 25px 15px;
  border-bottom: 1px solid #e9ecef;
}

.delete-modal-icon {
  width: 50px;
  height: 50px;
  background: #dc3545;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  animation: pulse 2s infinite;
}

.delete-modal-icon i {
  font-size: 20px;
  color: white;
}

.delete-modal-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

.delete-modal-body {
  padding: 15px 25px;
}

.delete-modal-body p {
  margin: 0 0 15px 0;
  font-size: 15px;
  color: #666;
  text-align: center;
  line-height: 1.4;
}

.delete-booking-details {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 12px;
  margin: 15px 0;
}

.delete-booking-details .detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid #e9ecef;
}

.delete-booking-details .detail-item:last-child {
  border-bottom: none;
}

.delete-booking-details .detail-item strong {
  color: #333;
  font-weight: 600;
  font-size: 14px;
}

.delete-booking-details .detail-item span {
  color: #666;
  text-align: right;
  font-size: 14px;
}

.warning-text {
  color: #dc3545 !important;
  font-weight: 500;
  text-align: center;
  margin: 15px 0 0 0 !important;
  font-size: 13px;
}

.warning-text i {
  margin-right: 6px;
  color: #dc3545;
}

.delete-modal-footer {
  padding: 15px 25px 20px;
  display: flex;
  gap: 10px;
  justify-content: center;
}

.delete-modal-btn {
  padding: 10px 20px;
  border-radius: 8px;
  border: none;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 120px;
  justify-content: center;
}

.delete-modal-btn.cancel-btn {
  background: #6c757d;
  color: white;
}

.delete-modal-btn.cancel-btn:hover {
  background: #5a6268;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

.delete-modal-btn.confirm-btn {
  background: #dc3545;
  color: white;
}

.delete-modal-btn.confirm-btn:hover {
  background: #c82333;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.delete-modal-btn:active {
  transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .delete-modal-container {
    width: 95%;
    margin: 20px;
  }
  
  .delete-modal-header,
  .delete-modal-body,
  .delete-modal-footer {
    padding: 15px 20px;
  }
  
  .delete-modal-footer {
    flex-direction: column;
  }
  
  .delete-modal-btn {
    width: 100%;
    min-width: auto;
  }
  
  .delete-booking-details .detail-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  
  .delete-booking-details .detail-item span {
    text-align: left;
  }
}


