/* Notification system styling */
.notification-container {
  position: fixed;
  top: 20px;
  right: 20px;
  max-width: 350px;
  z-index: 9999;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

/* Base notification style */
.notification {
  background: #fff;
  color: #333;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  margin-bottom: 10px;
  padding: 12px 16px;
  display: flex;
  align-items: flex-start;
  width: 100%;
  max-width: 350px;
  transform: translateX(120%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  overflow: hidden;
}

.app-notification {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  margin-bottom: 10px;
  display: flex;
  padding: 15px;
  transform: translateX(120%);
  opacity: 0;
  transition: all 0.3s ease;
  overflow: hidden;
}

.app-notification.show {
  transform: translateX(0);
  opacity: 1;
}

.notification.show {
  transform: translateX(0);
  opacity: 1;
}

.app-notification::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 5px;
}

.notification-icon {
  margin-right: 15px;
  font-size: 20px;
  min-width: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

.notification-content {
  flex: 1;
  flex-grow: 1;
  padding-right: 10px;
}

.notification-content h4 {
  margin: 0 0 5px 0;
  font-size: 16px;
  font-weight: 600;
}

.notification-title {
  font-weight: bold;
  margin-bottom: 4px;
}

.notification-content p {
  margin: 0;
  font-size: 14px;
  color: #4a5568;
}

.notification-message {
  font-size: 14px;
  line-height: 1.4;
}

.notification-close {
  background: none;
  border: none;
  color: #a0aec0;
  cursor: pointer;
  font-size: 16px;
  transition: color 0.2s;
  font-size: 18px;
  padding: 0;
  margin-left: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border-radius: 50%;
  transition: background-color 0.2s;
}

.notification-close:hover {
  color: #4a5568;
  background-color: rgba(0, 0, 0, 0.1);
  color: #555;
}

/* Notification types */
.notification-info::before {
  background-color: #4299e1;
}

.notification-info .notification-icon {
  color: #4299e1;
}

.notification-success::before {
  background-color: #48bb78;
}

.notification-success .notification-icon {
  color: #48bb78;
}

.notification-warning::before {
  background-color: #ecc94b;
}

.notification-warning .notification-icon {
  color: #ecc94b;
}

.notification-error::before {
  background-color: #f56565;
}

.notification-error .notification-icon {
  color: #f56565;
}

.notification-success {
  border-left: 4px solid #06d6a0;
}

.notification-success .notification-icon {
  color: #06d6a0;
}

.notification-error {
  border-left: 4px solid #ef476f;
}

.notification-error .notification-icon {
  color: #ef476f;
}

.notification-warning {
  border-left: 4px solid #ffd166;
}

.notification-warning .notification-icon {
  color: #ffd166;
}

.notification-info {
  border-left: 4px solid #118ab2;
}

.notification-info .notification-icon {
  color: #118ab2;
}

.notification-tip {
  border-left: 4px solid #4361ee;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.notification-tip .notification-icon {
  color: #4361ee;
}

/* Responsive notifications */
@media (max-width: 480px) {
  .notification-container {
    top: auto;
    right: 10px;
    left: 10px;
    bottom: 10px;
    max-width: none;
  }
}

@media (max-width: 768px) {
  .notification-container {
    width: calc(100% - 40px);
    max-width: 100%;
  }
  
  .notification {
    max-width: 100%;
  }
}
