/* Notifications Page Specific Styles */

.notif-page-container {
  max-width: 900px;
  margin: 2rem auto;
  padding: 2rem;
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  min-height: 400px;
}

.notif-page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #f0f4f8;
}

.notif-page-header h1 {
  font-size: 1.8rem;
  color: #1e3c72;
}

.back-btn {
  padding: 8px 20px;
  background: #f0f4f8;
  border-radius: 50px;
  text-decoration: none;
  color: #1e3c72;
  font-weight: bold;
  transition: all 0.3s ease;
}

.back-btn:hover {
  background: #1e3c72;
  color: white;
}

#full-notif-list {
  display: grid;
  gap: 1.5rem;
}

.notif-card {
  background: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease;
}

.notif-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.notif-card-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.notif-card-rating {
  color: #ffc107;
  font-size: 1.2rem;
}

.notif-card-time {
  font-size: 0.85rem;
  color: #adb5bd;
}

.notif-card-name {
  font-weight: 700;
  color: #1e3c72;
  font-size: 1.1rem;
  display: block;
  margin-bottom: 10px;
}

.notif-card-detail {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed #eee;
}

.notif-label {
  font-weight: 600;
  color: #495057;
  margin-right: 5px;
}

.notif-card-actions {
  display: flex;
  gap: 10px;
  margin-top: 15px;
  justify-content: flex-end;
}

.delete-notif-btn,
.edit-notif-btn {
  padding: 6px 15px;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: bold;
  transition: all 0.3s ease;
}

.delete-notif-btn {
  background: #dc3545;
  color: white;
}

.delete-notif-btn:hover {
  background: #c82333;
  transform: scale(1.05);
}

.edit-notif-btn {
  background: #ffc107;
  color: #000;
}

.edit-notif-btn:hover {
  background: #e0a800;
  transform: scale(1.05);
}

.admin-controls {
  display: flex;
  gap: 10px;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  align-items: center;
}

.filter-group {
  display: flex;
  gap: 10px;
  align-items: center;
}

.filter-group label {
  font-weight: 600;
}

.filter-select,
.search-input {
  padding: 8px 15px;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  font-size: 0.9rem;
  transition: border-color 0.3s;
}

.filter-select:focus,
.search-input:focus {
  outline: none;
  border-color: #0077b6;
}

.admin-btn {
  padding: 8px 18px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: bold;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.export-btn {
  background: #28a745;
  color: white;
}

.export-btn:hover {
  background: #218838;
  transform: translateY(-2px);
}

.clear-all-btn {
  background: #dc3545;
  color: white;
}

.clear-all-btn:hover {
  background: #c82333;
  transform: translateY(-2px);
}

.stats-dashboard {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 1.5rem;
  border-radius: 15px;
  margin-bottom: 2rem;
  display: none;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
}

.stats-dashboard.active {
  display: grid;
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: 2rem;
  font-weight: bold;
  display: block;
}

.stat-label {
  font-size: 0.85rem;
  opacity: 0.9;
}

.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #28a745;
  color: white;
  padding: 15px 25px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  animation: slideInRight 0.4s ease-out;
}

.toast.error {
  background: #dc3545;
}

@keyframes slideInRight {
  from {
    transform: translateX(400px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.no-notif-msg {
  text-align: center;
  padding: 2rem;
  color: #adb5bd;
  font-style: italic;
}
