/* === RESET === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Arial, sans-serif;
}

body {
  background: #f5f6fa;
  color: #333;
  min-height: 100vh;
}

/* === HEADER / TOP NAV === */
.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #d1fae5;
  padding: 10px 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.app-name {
  font-size: 18px;
  font-weight: bold;
  color:#34d399;
  text-decoration: none;
}

.nav-icons {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* === ICON BUTTONS === */
.icon-button {
  cursor: pointer;
  position: relative;
}

.nav-icon {
  font-size: 20px;
  color: #34d399;
  transition: color 0.2s;
}

.icon-button:hover .nav-icon {
  background-color: #34d399;
}

/* === USER DROPDOWN === */
.profile-dropdown-container {
  position: relative;
}

.user-icon {
  width: 35px;
  height: 35px;
  background:#34d399;
  border-radius: 50%;
  cursor: pointer;
}

.dropdown-menu {
 position: absolute;
    top: 50px; /* Position below the profile icon */
    right: 0; /* Align to the right of the profile icon */
    background-color: #ffffff; /* White background for dropdown */
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    z-index: 100;
    min-width: 180px;
}

/* This is the class your HTML is looking for to hide the menu */
.hidden {
    display: none !important;
}


.dropdown-menu a.dropdown-item {
  display: flex;
  align-items: center;
  padding: 0.85rem 1rem;
  color: #374151;
  transition: background-color 0.2s;
  font-size: 0.95rem;
}

.dropdown-menu a.dropdown-item:hover {
  background-color: #f0f2f5;
}

.dropdown-menu a.dropdown-item .icon {
  margin-right: 0.75rem;
  font-size: 1.1rem;
  color: #6b7280;
}
/* === NOTIFICATION LIST === */
.notif-container {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.notification-item {
  background: #fff;
  border-radius: 12px;
  padding: 12px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: transform 0.2s;
}

.notification-item:hover {
  transform: translateY(-2px);
}

/* Left info */
.notif-info {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 70%;
}

.notif-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.notif-info p {
  font-size: 14px;
  line-height: 1.3;
}

/* Buttons */
.notif-actions {
  display: flex;
  gap: 8px;
}

.accept-btn,
.decline-btn {
  padding: 6px 12px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  transition: background 0.2s;
}

.accept-btn {
  background: #28a745;
  color: #fff;
}

.accept-btn:hover {
  background: #218838;
}

.decline-btn {
  background: #dc3545;
  color: #fff;
}

.decline-btn:hover {
  background: #c82333;
}

/* Modal overlay */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal.hidden {
    display: none;
}

/* Modal content */
.modal-content {
    position: relative; /* para gumana yung absolute ng close button */
    background: #fff;
    padding: 30px 40px;
    border-radius: 12px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

/* Close button (X) */
.modal-content .close {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 28px;  /* malaki */
    font-weight: bold;
    color: #666;
    cursor: pointer;
    transition: color 0.2s;
}

.modal-content .close:hover {
    color: #000;
}

/* Modal title */
.modal-content h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

/* Stars */
.stars {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.star {
    font-size: 40px; /* make it bigger */
    color: #ccc;     /* default gray */
    cursor: pointer;
    transition: color 0.2s;
}

.star.selected,
.star:hover,
.star:hover ~ .star {
    color: gold;     /* highlight gold */
}

/* Submit button */
#submitRating {
    background-color: #34d399; /* Green-500 */
    color: #fff;
    border: none;
    padding: 10px 25px;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s;
}

#submitRating:hover {
    background-color: #059669; /* darker green */
}

/* Dropdown (if used elsewhere) */
.categories-dropdown {
    flex-grow: 1;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.categories-dropdown:hover,
.categories-dropdown:focus {
    border-color: #34d399;
    box-shadow: 0 0 0 2px rgba(52, 211, 153, 0.2);
    outline: none;
}

.notif-item.unread { font-weight: bold; }

.notif-item.unread {
    font-weight: bold;
    background-color: #f9f9f9; /* optional para ma-highlight */
}


