@import url('https://fonts.googleapis.com/css?family=Montserrat:500');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: #24252a;
  color: #edf0f1;
  line-height: 1.6;
}

nav header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 10%;
  background-color: #1c1d22;
}

.logo {
  cursor: pointer;
  height: 90px;
  width: auto;
  border: 2px solid #fff;
  border-radius: 40%;
}

.nav_links {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav_links li a {
  font-weight: 500;
  font-size: 16px;
  color: #edf0f1;
  text-decoration: none;
  transition: all 0.3s ease;
}

.nav_links li a:hover {
  color: #0088a9;
}

.cta {
  font-size: 16px;
  padding: 8px 15px;
  border-radius: 25px;
  background-color: #0d6efd;
  color: white;
  border: none;
  font-weight: 500;
  cursor: pointer;
}

main {
  padding: 20px;
  max-width: 900px;
  margin: auto;
}

.chat-container {
  position: relative;
  max-width: 900px;
  margin: auto;
  background-color: #2c2f35;
  border-radius: 12px;
  border: 1px solid #444;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 600px;
}

.chat-box {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
}

.message {
  margin-bottom: 15px;
  padding: 10px 15px;
  border-radius: 10px;
  background-color: #3b3f4a;
}

.message.user {
  background-color: #0088a9;
  color: white;
  text-align: right;
}

.message.ai {
  background-color: #4a4e69;
  color: white;
  text-align: left;
}

.chat-input {
  height: 120px;
  padding: 15px 20px;
  background-color: #1c1d22;
  display: flex;
  gap: 15px;
  align-items: center;
}

.input {
  flex: 1;
  height: 50px;
  border: none;
  border-radius: 25px;
  background-color: #f1f1f1;
  font-size: 16px;
  padding: 0 20px;
}

.input:focus {
  outline: none;
  box-shadow: 0 0 10px #0088a9;
}

.send {
  width: 100px;
  height: 50px;
  background-color: #0088a9;
  border: none;
  border-radius: 25px;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.send:hover {
  background-color: #0077a1;
  box-shadow: 0 0 10px #0088a9;
}

/* Custom scrollbar for the chat box */
.chat-box::-webkit-scrollbar {
  width: 15px;
  border: none;
}

.chat-box::-webkit-scrollbar-track {
  border-radius: 10px;
}

.chat-box::-webkit-scrollbar-thumb {
  background-color: #0088a9;
  border-radius: 10px;
  border: 2px solid #1c1d22;
}

.chat-box::-webkit-scrollbar-thumb:hover {
  background-color: #0077a1;
  box-shadow: 0 0 10px #0088a9;
}

.chat-box::-webkit-scrollbar-button {
  display: none;
  height: 0;
  width: 0;
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.popup {
  position: relative;
  background-color: #1c1d22;
  padding: 30px;
  border-radius: 10px;
  color: white;
  width: 90%;
  max-width: 400px;
}

.popup h2 {
  margin-bottom: 20px;
  text-align: center;
}

.popup label {
  display: block;
  margin-top: 10px;
  font-weight: bold;
}

.popup input {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border-radius: 5px;
  border: none;
  font-size: 16px;
}

.popup button {
  margin-top: 20px;
  width: 100%;
  padding: 10px;
  background-color: #0088a9;
  color: white;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.popup .subject {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border-radius: 5px;
  border: none;
  font-size: 16px;
}

#pomodoro-app {
  margin-top: 40px;
  width: 100%;
  background: transparent;
  border: 2px solid #ccc;
  padding: 10px;
  text-align: center;
  font-family: Arial, sans-serif;
  box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
}

#timer {
  font-size: 2rem;
  margin: 10px 0;
}

.promodoro-btn {
  margin-left: 15px;
  width: 100px;
  height: 50px;
  background-color: #0088a9;
  border: none;
  border-radius: 25px;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.promodoro-btn:hover {
  background-color: #0077a1;
  box-shadow: 0 0 10px #0088a9;
}

button {
  margin-left: 15px;
  width: 100px;
  height: 50px;
  background-color: #0088a9;
  border: none;
  border-radius: 25px;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #0077a1;
  box-shadow: 0 0 10px #0088a9;
}

input {
  flex: 1;
  height: 50px;
  border: none;
  border-radius: 25px;
  background-color: #f1f1f1;
  font-size: 16px;
  padding: 0 20px;
}

input:focus {
  outline: none;
  box-shadow: 0 0 10px #0088a9;
}

.GoalTrackerContainer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background-color: #2c2f35;
  border-radius: 12px;
  border: 1px solid #444;
  margin-top: 20px;
  width: 100%;
}

.GoalTrackerHeader {
  font-size: 24px;
  margin-bottom: 20px;
  color: #0088a9;
}
.GoalTrackerInput {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.completed span {
  text-decoration: line-through;
  opacity: 0.7;
}

#leaderboardList {
  list-style: none;
  margin-top: 15px;
  padding: 0;
}

#leaderboardList li {
  background-color: #4caf50;
  padding: 10px 15px;
  margin: 5px 0;
  border-radius: 8px;
  color: white;
  font-weight: bold;
}

.timer-container {
  margin: 50px auto;
  max-width: 400px;
  padding: 20px;
  background-color: #1c1d22;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0, 136, 169, 0.3);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cta {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 20px;  /* Space between the items */
}

.cta li {
  background-color: #1a73e8;
  border-radius: 5px;
  padding: 10px 20px;  /* Adjust padding for better spacing */
  text-align: center;
}

.cta li a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  background-color: transparent;
}

.cta li a:hover {
  color: black;
  text-decoration: none;
}

.submit {
  background-color: #0088a9;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-53.5%, 340%);
}