/* ------------------------- Global Styles ------------------------- */
body {
  font-family: 'Inter', sans-serif;
  color: #212121;
  /* Grey 900 */
  margin: 0;
  padding: 0;
  background-color: #fafafa;
  /* Grey 50 */
}

/* ------------------------- Overlay Styles ------------------------- */
.todo-overlay,
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
}

.todo-overlay {
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}

.todo-overlay-content {
  text-align: center;
  color: white;
}

.loading-overlay {
  background-color: rgba(255, 255, 255, 0.9);
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.loading-symbol {
  border: 4px solid #f3f3f3;
  border-radius: 50%;
  border-top: 4px solid #1976d2;
  width: 50px;
  height: 50px;
  animation: spin 1.5s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* ------------------------- Header Styles ------------------------- */
.header {
  background-color: #1976d2;
  /* Blue 700 */
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  box-sizing: border-box;
  border-radius: 8px;
  margin: 20px;
}

.header img {
  height: 60px;
  width: 60px;
  border-radius: 8px;
}

.header h1 {
  margin: 0;
  color: #ffffff;
  font-size: 24px;
  text-align: center;
  flex-grow: 1;
}

.menu-icon {
  font-size: 24px;
  color: #ffffff;
  cursor: pointer;
}

/* Dropdown Menu */
.menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 80px;
  right: 20px;
  background-color: #1976d2;
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.menu a {
  color: #ffffff;
  text-decoration: none;
  padding: 12px 20px;
  display: block;
}

.menu a:hover {
  background-color: #0288d1;
}

/* ------------------------- Navbar Styles ------------------------- */
.navbar {
  background-color: #1976d2;
  /* Blue 700 */
  padding: 10px 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  /* Subtle shadow for depth */
}

.navbar-brand {
  color: #ffffff;
  /* White text for the brand */
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
}

.navbar-brand:hover {
  color: #ffd54f;
  /* Orange 300 */
}

.navbar-toggler {
  border: none;
  color: #ffffff;
  /* White icon */
}

.navbar-toggler-icon {
  background-color: #ffffff;
  /* White color for toggle icon */
  display: inline-block;
  width: 24px;
  height: 3px;
  margin: 4px 0;
}

.navbar-nav .nav-item .nav-link {
  color: #ffffff;
  /* White text for navigation links */
  font-size: 16px;
  padding: 8px 12px;
  transition: background-color 0.3s ease, color 0.3s ease;
  border-radius: 6px;
}

.navbar-nav .nav-item .nav-link:hover {
  background-color: #0288d1;
  /* Blue 300 */
  color: #ffd54f;
  /* Orange 300 */
}

/* Dropdown Menu */
.dropdown-menu {
  background-color: #ffffff;
  /* White background for dropdown */
  border: none;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  /* Subtle shadow */
}

.dropdown-menu .dropdown-item {
  color: #1976d2;
  /* Blue 700 text */
  font-size: 14px;
  padding: 10px 20px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.dropdown-menu .dropdown-item:hover {
  background-color: #f57c00;
  /* Orange 600 */
  color: #ffffff;
  /* White text on hover */
}

/* Active Link Styles */
.navbar-nav .nav-item .nav-link.active {
  background-color: #ffd54f;
  /* Orange 300 */
  color: #1976d2;
  /* Blue 700 */
}

/* Responsive Navbar */
@media (max-width: 768px) {
  .navbar {
    padding: 10px 15px;
  }

  .navbar-brand {
    font-size: 16px;
  }

  .navbar-nav .nav-item .nav-link {
    font-size: 14px;
    padding: 6px 10px;
  }
}

/* ------------------------- Shared Button Styles ------------------------- */
button {
  border: none;
  padding: 12px 24px;
  margin: 5px 5px 5px 0px !important;
  border-radius: 10px !important;
  /* Rounded corners for Google-like appearance */
  cursor: pointer !important;
  font-weight: bold;
  font-size: 14px;
  color: #ffffff;
  /* White text */
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  /* Subtle shadow for depth */
}

/* Hover Effect */
button:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  /* Slightly deeper shadow on hover */
}

/* ------------------------- Specific Button Colors ------------------------- */
.copy-button {
  background-color: #1976d2;
  /* Blue 700 */
}

.copy-button:hover {
  background-color: #0288d1;
  /* Blue 300 */
}

.todo-button {
  background-color: #388e3c;
  /* Green 700 */
}

.todo-button:hover {
  background-color: #66bb6a;
  /* Green 400 */
}

.export-button {
  background-color: #f57c00;
  /* Orange 600 */
}

.export-button:hover {
  background-color: #fb8c00;
  /* Orange 400 */
}

.filter-submit-button {
  background-color: #388e3c;
  /* Green 700 */
}

.filter-submit-button:hover {
  background-color: #66bb6a;
  /* Green 400 */
}

.generate_ai_response {
  background-color: #d32f2f;
  /* Red 700 */
}

.generate_ai_response:hover {
  background-color: #e57373;
  /* Red 300 */
}

.google-review-button {
  background-color: #fbc02d;
  /* Yellow 700 */
}

.google-review-button:hover {
  background-color: #ffeb3b;
  /* Yellow 400 */
}



/* --------------- Container and Card Styles ------------------------- */
.container {
  width: 85%;
  margin: 30px auto;
  padding: 25px;
  background-color: #ffffff;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

.card {
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.card-header {
  background-color: #1976d2 !important;
  /* Blue 700 */
  color: white;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.review-count {
  text-align: center;
  font-weight: 700;
}

/* ------------------------- Form Styles ------------------------- */
.form-group {
  margin-bottom: 1rem;
}

.form-control {
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  color: #495057;
  background-color: #fff;
  border: 1px solid #ced4da;
  border-radius: 10px !important;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control-lg {
  font-size: 1.25rem;
  padding: 0.5rem 1rem;
  border-radius: 10px !important;
}

/* ------------------------- Pagination Styles ------------------------- */
.pagination {
  display: flex;
  justify-content: center;
  margin-top: 25px;
  cursor: pointer;
}

.page-link {
  margin: 0 8px;
  color: #1976d2;
  text-decoration: none;
  font-weight: bold;
}

.page-link:hover {
  color: #388e3c;
}

/* ------------------------- Popup Styles ------------------------- */
.popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #ffffff;
  padding: 25px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  border-radius: 8px;
  width: 90%;
  max-width: 600px;
}

.popup h2 {
  color: #1976d2;
  margin-bottom: 20px;
}

.popup .close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 20px;
  cursor: pointer;
  color: #1976d2;
}

/* ------------------------- Review Styles ------------------------- */
.review-container {
  border: 1px solid #ccc;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 6px;
  background-color: #f8f9fa;
}

.review-container h2 {
  color: #1976d2;
  margin-top: 0;
}

.review-response {
  margin-top: 15px;
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  background-color: #f5f5f5;
}

/* ------------------------- Responsive Styles ------------------------- */
@media (max-width: 600px) {
  .header {
    flex-direction: column;
    height: auto;
    padding: 10px;
  }

  .header img {
    height: 50px;
    width: 50px;
  }

  .header h1 {
    font-size: 20px;
    margin: 10px 0;
  }

  .menu {
    right: 10px;
    left: 10px;
  }
}




/* Specific styles for the analysis container */
.analysis-container {
  background-color: #f5f5f5;
  /* Light grey (Google Grey 200) */
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  /* max-width: 600px; */
  margin: 0 0 auto;
  /* Center horizontally */
  text-align: left;
}

/* Button inside the specific container */
.analysis-container .execute-analysis-button {
  background-color: #1976d2;
  /* Google Blue 700 */
  color: #ffffff;
  /* White text */
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.analysis-container .execute-analysis-button:hover {
  background-color: #1565c0;
  /* Google Blue 800 */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}