/* Resetting default styling and setting font-family */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Cinzel De', sans-serif;
}

body {
  width: 100%;
  min-height: 100vh;
  padding: 0 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background 0.3s ease;
}

/* Theme Selection Dropdown */
.theme-selection {
  position: absolute;
  top: 20px;
  left: 20px;
}

.theme-selection label {
  font-weight: bold;
  margin-right: 10px;
}

.theme-selection select {
  padding: 5px;
  font-size: 16px;
  border-radius: 5px;
  border: 1px solid #ccc;
  transition: background 0.3s ease;
}

/* Login form styling */
.login_form {
  width: 100%;
  max-width: 435px;
  background: #fff;
  border-radius: 6px;
  padding: 41px 30px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.login_form h3 {
  font-size: 20px;
  text-align: center;
}

/* Input field styling */
form .input_box label {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
}

form .input_box input {
  width: 100%;
  height: 57px;
  border: 1px solid #DADAF2;
  border-radius: 5px;
  outline: none;
  background: #F8F8FB;
  font-size: 17px;
  padding: 0px 20px;
  margin-bottom: 25px;
  transition: 0.2s ease, background 0.3s ease;
}

form .input_box input:focus {
  border-color: #626cd6;
}

form .input_box .password_title {
  display: flex;
  justify-content: space-between;
  text-align: center;
}

form .input_box {
  position: relative;
}

a {
  text-decoration: none;
  color: #626cd6;
  font-weight: 500;
}

a:hover {
  text-decoration: underline;
}

/* Login button styling */
form button {
  width: 100%;
  height: 56px;
  border-radius: 5px;
  border: none;
  outline: none;
  background: #626CD6;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
  cursor: pointer;
  margin-bottom: 28px;
  transition: 0.3s ease;
}

form button:hover {
  background: #df1b1b;
}

/* Hidden class to hide elements */
.hidden {
  display: none !important;
}

/* New screen styling */
.new_screen {
  width: 100%;
  max-width: 1000px;
  padding: 20px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  transition: opacity 0.5s ease-in-out;
  opacity: 0;
}

.new_screen.active {
  opacity: 1;
}

.new_screen h3 {
  text-align: center;
  margin-bottom: 20px;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  width: 100%;
}

.card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  padding: 20px;
  margin: 10px;
  width: 250px;
  max-width: 100%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.card h2 {
  color: #4CAF50;
  font-size: 1.5em;
  margin-bottom: 10px;
}

.interactive-button {
  width: 100%;
  padding: 10px;
  margin-top: 10px;
  border: none;
  border-radius: 5px;
  background-color: #4CAF50;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.interactive-button:hover {
  background-color: #45a049;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
  .dashboard-content {
    padding: 10px;
  }
  
  .cards {
    flex-direction: column;
    align-items: center;
  }
  
  .card {
    width: 90%;
    max-width: none;
  }
  
  .card h2 {
    font-size: 1.2em;
  }
  
  .interactive-button {
    padding: 8px;
  }
}

/* Theme Styles */
body.default {
  background: linear-gradient(270deg, #ff6b6b, #f8e71c, #7ed321, #50e3c2, #4a90e2, #9013fe);
  background-size: 1200% 1200%;
  animation: gradientAnimation 12s ease infinite;
}

body.auroraBorealis {
  background: linear-gradient(270deg, #16a085, #2ecc71, #f39c12, #d35400, #c0392b, #8e44ad);
  background-size: 1200% 1200%;
  animation: gradientAnimation 10s ease infinite;
}

body.sunsetGlow {
  background: linear-gradient(270deg, #f79d00, #64f38c, #14c8ff, #ff6b6b, #ff9a9e, #fbc7d4);
  background-size: 1200% 1200%;
  animation: gradientAnimation 12s ease infinite;
}

body.oceanDepths {
  background: linear-gradient(270deg, #0072ff, #00c6ff, #00e4ff, #0072ff, #0072ff, #00c6ff);
  background-size: 1200% 1200%;
  animation: gradientAnimation 14s ease infinite;
}

body.forestWhisper {
  background: linear-gradient(270deg, #4caf50, #8bc34a, #cddc39, #ffeb3b, #ffc107, #ff9800);
  background-size: 1200% 1200%;
  animation: gradientAnimation 16s ease infinite;
}

body.desertMirage {
  background: linear-gradient(270deg, #ff9a9e, #fad0c4, #fad0c4, #fbc2eb, #a18cd1, #fbc2eb);
  background-size: 1200% 1200%;
  animation: gradientAnimation 18s ease infinite;
}

body.starryNight {
  background: linear-gradient(270deg, #2c3e50, #4ca1af, #bdc3c7, #2c3e50, #2c3e50, #4ca1af);
  background-size: 1200% 1200%;
  animation: gradientAnimation 20s ease infinite;
}

body.autumnBreeze {
  background: linear-gradient(270deg, #d38312, #a83279, #000000, #d38312, #d38312, #a83279);
  background-size: 1200% 1200%;
  animation: gradientAnimation 22s ease infinite;
}

body.springBlossom {
  background: linear-gradient(270deg, #d4fc79, #96e6a1, #8ed1fc, #8ed1fc, #d4fc79, #96e6a1);
  background-size: 1200% 1200%;
  animation: gradientAnimation 24s ease infinite;
}

body.neonLights {
  background: linear-gradient(270deg, #f093fb, #f5576c, #4facfe, #4facfe, #f093fb, #f5576c);
  background-size: 1200% 1200%;
  animation: gradientAnimation 26s ease infinite;
}

body.retroWave {
  background: linear-gradient(270deg, #833ab4, #fd1d1d, #fcb045, #833ab4, #833ab4, #fd1d1d);
  background-size: 1200% 1200%;
  animation: gradientAnimation 28s ease infinite;
}

@keyframes gradientAnimation {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Add this CSS to handle the hidden class */
.hidden {
display: none;
}

/* Cards Container */
/* Cards Container */
.cards {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 20px; /* Adjust the gap between cards as needed */
justify-items: center;
margin: 20px auto; /* Center the container */
}

/* Individual Card Styling */
.card {
width: 200px;
text-align: center;
padding: 20px;
border: 1px solid #ccc;
border-radius: 6px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease;
background-color: #2e2c2c ; /* Add background color */
text-decoration: none; /* Remove underline from links */
color:#FFFFFF; /* Inherit text color */
}

.card:hover {
transform: scale(1.05);
}

.card img {
max-width: 100%;
height: auto;
}

.card p {
margin-top: 10px;
font-weight: bold;
font-size: 16px; /* Adjust font size if needed */
}

/* Add necessary CSS styles for the usage tracker screen */
/* Add necessary CSS styles for the usage tracker screen */
.usage-tracker-title {
text-align: center;
font-size: 24px;
margin-top: 20px;
transition: all 0.3s ease;
}

.usage-tracker-title:hover {
content: "Don't lie";
}

.app-usage-container {
display: flex;
flex-direction: column;
align-items: center;
gap: 20px;
margin-top: 20px;
}

.app-usage {
display: flex;
align-items: center;
gap: 10px;
}

.app-usage img {
width: 100px;
height: 100px;
}

.hours, .minutes {
width: 60px;
padding: 5px;
text-align: center;
}

.progress-container {
display: flex;
flex-direction: column;
align-items: center;
gap: 10px;
margin-top: 20px;
width: 100%;
}

/* Progress Bar Segments */
.progress-bar {
display: flex;
width: 80%;
background-color: #e0e0e0;
height: 25px;
border-radius: 5px;
overflow: hidden;
}

.progress {
height: 100%;
text-align: center;
color: white;
}

.progress.youtube {
background-color: #FF0000; /* Red for YouTube */
}

.progress.instagram {
background-color: #e813c1; /* Purple for Instagram */
}

.progress.snapchat {
background-color: #FFFC00; /* Yellow for Snapchat */
color: black;
}

.progress.chrome {
background-color: #4285F4; /* Blue for Chrome */
}

.progress.study {
background-color: #34A853; /* Green for Study */
}

.progress.other {
  background-color: #000000; /* Black for Other */
}




#pomodoroTimerScreen {
  text-align: center;
  padding: 20px;
}

#pomodoroTimerScreen .input_box {
  margin-bottom: 20px;
}

#pomodoroTimerScreen input[type="number"] {
  width: 60px;
  margin-right: 10px;
  text-align: center;
}

#pomodoroTimerScreen #startButton,
#pomodoroTimerScreen #pomodoroResetButton,
#pomodoroTimerScreen #pomodoroBackButton {
  background: #ff6b6b;
  border: none;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  margin: 5px;
  transition: background 0.3s ease;
}

#pomodoroTimerScreen #startButton:hover,
#pomodoroTimerScreen #pomodoroResetButton:hover,
#pomodoroTimerScreen #pomodoroBackButton:hover {
  background: #ff4d4d;
}

#countdown {
  font-size: 48px;
  margin-top: 20px;
  color: #333;
  font-weight: bold;
}

#timerMessage {
  margin-top: 20px;
  font-size: 1.2rem;
  color: #388e3c;
}

.hidden {
  display: none;
}


.goals-container {
background-color: white;
width: 100%;
padding: 20px;
border-radius: 8px;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.goals-header {
display: flex;
justify-content: space-between;
align-items: center;
}

.goals-header h2 {
font-size: 1.5em;
margin: 0;
}

.goals-input {
display: flex;
justify-content: space-between;
margin: 20px 0;
}

.goals-input input {
width: 80%;
padding: 10px;
border: 1px 
border-radius: 4px;
}

.goals-input button {
background-color: green;

border: none;
padding: 10px;
border-radius: 50%;
cursor: pointer;
}

#goalsList {
list-style-type: none;
padding: 0;
}

#goalsList li {
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px;
margin-bottom: 10px;

border-radius: 4px;
}

#goalsList li .goal-text {
text-decoration: none;
}

#goalsList li.completed .goal-text {
text-decoration: line-through;
}

#goalsList li button {
background-color: transparent;
border: none;
cursor: pointer;
}

#goalsList li button i {
color: #555;
}

#backButton {

border: none;
padding: px 10px;
border-radius: 4px;
cursor: pointer;
}

/* Add these styles at the end of your CSS file */
#goalAreaScreen {
  
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  max-width: 500px;
  margin: 0 auto;
}

.goal-input {
  display: flex;
  margin-bottom: 20px;
}

.goal-input input {
  flex-grow: 1;
  padding: 10px;
  font-size: 16px;
  border: 1px 
  border-radius: 4px 0 0 4px;
}

.goal-input button {
  padding: 10px 20px;
  font-size: 16px;
  background-color: #4CAF50;
  
  border: none;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
}

#goalsList {
  list-style-type: none;
  padding: 0;
}

#goalsList li {
  display: flex;
  align-items: center;
  padding: 10px;

  margin-bottom: 10px;
  border-radius: 4px;
}

#goalsList li.completed .goal-text {
  text-decoration: line-through;
 color: #0ebcdfd4;
}

.goal-text {
  flex-grow: 1;
  margin-right: 10px;
}

.goal-actions button {
  margin-left: 5px;
  padding: 5px 10px;
  font-size: 14px;
  
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

#goalAreaBackButton {
  margin-top: 20px;
  padding: 10px 20px;
  font-size: 16px;
 
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

/* Add these styles at the end of your CSS file */
#motivationalQuotesScreen {
  background-color: #222; /* Light black */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(255,255,255,0.1);
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.quote-container {
  margin: 30px 0;
  background-color: black; /* Pure black */
  padding: 30px;
  border-radius: 8px;
}

.quote-text {
  font-size: 24px;
  margin-bottom: 20px;
  color: #FFD700; /* Golden yellow */
}

.quote-buttons {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.quote-buttons button,
#quotesBackButton {
  padding: 10px 20px;
  font-size: 16px;
  background-color: black;
  color: #FFD700; /* Golden yellow */
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.quote-buttons button:hover,
#quotesBackButton:hover {
  background-color: #444;
}

/* Add this new style for the screen title */
#motivationalQuotesScreen h2 {
  color: #FFD700; /* Golden yellow */
  margin-bottom: 20px;
}

/* Add this new style to make the entire screen light black */
body.motivational-quotes-active {
  background-color: #222; /* Light black */
}

/* ... existing styles ... */

#distractionFreeRoomScreen {
  background-color: black;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  width: 100vw;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
}

#clock {
  font-size: 4em;
  color: #FFD700;
  margin-bottom: 40px;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
  font-weight: 300;
  letter-spacing: 3px;
  transition: transform 0.3s ease;
}

#clock:hover {
  transform: scale(1.05);
}

/* Enhanced Lock/Unlock Message Styling */
.lock-message {
    background: linear-gradient(145deg, #2c2c2c, #1a1a1a);
    color: #FFD700;
    padding: 25px 35px;
    border-radius: 15px;
    margin: 30px auto;
    max-width: 80%;
    text-align: center;
    font-size: 1.3em;
    font-weight: 500;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 215, 0, 0.1);
    animation: fadeInScale 0.6s ease;
    letter-spacing: 0.5px;
    line-height: 1.5;
}

/* Enhanced Button Styling */
.dfr-button {
    background: linear-gradient(145deg, #333, #222);
    color: #FFD700;
    padding: 15px 30px;
    border: 2px solid rgba(255, 215, 0, 0.2);
    border-radius: 50px;
    margin: 15px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.dfr-button:hover {
    background: linear-gradient(145deg, #444, #333);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 215, 0, 0.4);
}

.dfr-button:active {
    transform: translateY(1px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Button hover effect */
.dfr-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 215, 0, 0.3);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.dfr-button:hover::after {
    animation: ripple 1s ease-out;
}

/* Enhanced animations */
@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    100% {
        transform: scale(100, 100);
        opacity: 0;
    }
}

/* Ensure proper spacing in the distraction free room */
#distractionFreeRoomScreen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 40px;
}

/* Clock styling to match the theme */
#clock {
    font-size: 3.5em;
    color: #FFD700;
    margin-bottom: 30px;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
    font-weight: 300;
    letter-spacing: 2px;
}

/* Exercise Tracker Styles */
#exerciseTrackerScreen {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  background-color: #f5f5f5;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#exerciseTrackerScreen h2 {
  text-align: center;
  color: #333;
  margin-bottom: 20px;
}

.exercise-container {
  display: flex;
  justify-content: space-between;
}

.exercise-list {
  flex: 1;
  margin-right: 20px;
}

.exercise-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  padding: 10px;
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.exercise-item.header {
  font-weight: bold;
  background-color: #e0e0e0;
}

.exercise-item span {
  flex: 1;
}

.exercise-item input {
  width: 50px;
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 3px;
  text-align: center;
}

.min-label {
  margin-left: 5px;
  font-size: 14px;
  vertical-align: middle;
}

.summary-item {
  margin-top: 20px;
  text-align: center;
  font-weight: bold;
}

.btn {
  padding: 10px 20px;
  background-color: #4CAF50;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #45a049;
}

.back-btn {
  margin-top: 20px;
  background-color: #f44336;
}

.back-btn:hover {
  background-color: #d32f2f;
}

.scratch-card {
    position: relative;
    width: 300px;
    height: 150px;
    background: linear-gradient(135deg, #ff8c00, #ff4500); /* Contrasting gradient color */
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 24px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.scratch-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7); /* Scratchable overlay color */
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.code {
    display: none; /* Initially hidden */
    font-weight: bold;
}

.active-button {
    background: linear-gradient(135deg, #4CAF50, #8BC34A); /* Colorful gradient */
    color: white;
    border: none;
    border-radius: 25px; /* More rounded corners */
    padding: 12px 24px; /* Increased padding for a larger button */
    font-size: 20px; /* Slightly larger font size */
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(0, 128, 0, 0.5); /* Shadow effect for depth */
}

.interactive-button:hover {
    transform: scale(1.1); /* Slightly enlarge on hover */
    background-color: #45a049; /* Darker green on hover */
    box-shadow: 0 6px 20px rgba(0, 128, 0, 0.7); /* Enhanced shadow on hover */
}

.interactive-button:active {
    transform: scale(0.95); /* Slightly shrink on click */
    box-shadow: 0 2px 10px rgba(0, 128, 0, 0.5); /* Reduced shadow on click */
}

.enter_signup_code_screen {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center the content */
    gap: 20px; /* Space between elements */
}

.scratch-card {
    margin-bottom: 20px; /* Space between the card and the button */
}

.interactive-button {
    background: linear-gradient(135deg, #ff6b6b, #f8e71c, #4CAF50); /* Colorful gradient */
    color: white;
    border: none;
    border-radius: 30px; /* More rounded corners */
    padding: 20px 40px; /* Increased padding for a larger button */
    font-size: 24px; /* Larger font size for better visibility */
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 20px; /* Increased margin for better spacing */
    box-shadow: 0 6px 20px rgba(0, 128, 0, 0.5); /* Shadow effect for depth */
    text-transform: uppercase; /* Uppercase text for emphasis */
    letter-spacing: 1px; /* Spacing between letters for a cleaner look */
}

/* Active and Hover Effects */
.interactive-button:hover {
    background: linear-gradient(135deg, #45a049, #7cb342); /* Darker green on hover */
    transform: scale(1.05); /* Slightly enlarge on hover */
}

.interactive-button:active {
    transform: scale(0.95); /* Slightly shrink on click */
    box-shadow: 0 4px 15px rgba(0, 128, 0, 0.5); /* Reduced shadow on click */
}

/* General Form Styles */
input[type="email"],
input[type="password"],
input[type="number"] {
    width: 100%;
    padding: 15px;
    border: 2px solid #4CAF50; /* Green border */
    border-radius: 10px; /* Rounded corners */
    font-size: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 15px; /* Space between inputs */
}

input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus {
    border-color: #ff6b6b; /* Change border color on focus */
    box-shadow: 0 0 5px rgba(255, 107, 107, 0.5); /* Glow effect */
}

/* Error Message Styles */
.error {
    color: #ff4500; /* Red color for error messages */
    font-weight: bold;
    display: none; /* Initially hidden */
}

/* Sign Up Button Styles */
#loginButton {
    background: linear-gradient(135deg, #4CAF50, #8BC34A); /* Green gradient */
    color: white;
    border: none;
    border-radius: 30px; /* Rounded corners */
    padding: 15px 30px; /* Increased padding */
    font-size: 20px; /* Larger font size */
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    margin-top: 10px; /* Space above the button */
    box-shadow: 0 4px 10px rgba(0, 128, 0, 0.5); /* Shadow effect */
}

#loginButton:hover {
    background: linear-gradient(135deg, #45a049, #7cb342); /* Darker green on hover */
    transform: scale(1.05); /* Slightly enlarge on hover */
}

#loginButton:active {
    transform: scale(0.95); /* Slightly shrink on click */
    box-shadow: 0 2px 5px rgba(0, 128, 0, 0.5); /* Reduced shadow on click */
}

/* Sign Up Link Styles */
.sign_up {
    font-size: 16px;
    color: #4CAF50; /* Green color for the sign-up link */
}

.sign_up a {
    color: #ff6b6b; /* Color for the link */
    text-decoration: none; /* Remove underline */
    font-weight: bold;
    transition: color 0.3s ease; /* Transition for color change */
}

.sign_up a:hover {
    color: #d32f2f; /* Darker red on hover */
}

/* Input Box Styles */
.input_box {
    position: relative;
    margin-bottom: 20px; /* Space between input boxes */
}

/* Label Styles */
label {
    font-size: 18px;
    color: #333; /* Dark color for labels */
    margin-bottom: 5px; /* Space below labels */
    display: block; /* Make labels block elements */
}

/* Sign Up Title Styles */
.sign-up-title {
    font-size: 40px; /* Larger font size for prominence */
    color: #fff; /* White text color */
    text-align: center; /* Center the title */
    margin-bottom: 20px; /* Space below the title */
    text-transform: uppercase; /* Uppercase text for emphasis */
    letter-spacing: 3px; /* Spacing between letters for a cleaner look */
    font-weight: bold; /* Bold text for emphasis */
    background: linear-gradient(135deg, #ff6b6b, #ffcc00, #4CAF50); /* Colorful gradient background */
    padding: 15px; /* Padding around the text */
    border-radius: 10px; /* Rounded corners for the background */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3); /* Subtle shadow for depth */
    animation: bounce 1s infinite; /* Bouncing animation */
}

/* Keyframes for Bouncing Animation */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0); /* Original position */
    }
    40% {
        transform: translateY(-10px); /* Move up */
    }
    60% {
        transform: translateY(-5px); /* Move down */
    }
}

/* Refined and contrasting style for the verification code input box */
#verificationCodeInput {
    width: 100%; /* Full width */
    padding: 12px 15px; /* Padding for better touch */
    border: 2px solid #007BFF; /* Blue border for contrast */
    border-radius: 8px; /* Rounded corners */
    font-size: 18px; /* Larger font size */
    margin-top: 10px; /* Space above the input */
    background: #f8f9fa; /* Light background for contrast */
    color: #343a40; /* Dark text for readability */
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease; /* Smooth transitions */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Soft shadow for depth */
}

/* Focus effect for the verification code input box */
#verificationCodeInput:focus {
    border-color: #28a745; /* Green border on focus */
    box-shadow: 0 0 10px rgba(40, 167, 69, 0.5); /* Green shadow effect on focus */
    outline: none; /* Remove default outline */
    transform: scale(1.02); /* Slightly enlarge on focus */
}

/* Hover effect for the verification code input box */
#verificationCodeInput:hover {
    background: #e9ecef; /* Slightly darker background on hover */
}

/* Style for the error message specific to verification code */
#verificationCodeError {
    color: #dc3545; /* Bright red color for error messages */
    display: none; /* Hidden by default */
    margin-top: 5px; /* Space above the error message */
    font-size: 14px; /* Font size for error message */
    font-weight: bold; /* Bold text for emphasis */
    animation: shake 0.3s; /* Shake animation for error */
}

/* Keyframes for shake animation */
@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
    100% { transform: translateX(0); }
}

/* Phrase Patch Styles */


/* Keyframes for bounce animation */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Progress Bar Styles */
.progress-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px; /* Space between progress bar and buttons */
    margin-top: 30px; /* Additional margin above the progress bar */
}

.progress-bar {
    display: flex;
    width: 80%;
    background-color: #e0e0e0;
    height: 25px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Shadow for depth */
}

.progress {
    height: 100%;
    text-align: center;
    color: white;
    transition: width 0.4s ease; /* Smooth transition for width changes */
}

/* Button Styles */
button {
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin: 10px; /* Space between buttons */
    width: 150px; /* Fixed width for uniformity */
}

button:hover {
    transform: scale(1.05); /* Slightly enlarge on hover */
}

#calculateButton {
    background-color: #4CAF50; /* Green background */
    color: white;
}

#resetButton {
    background-color: #f44336; /* Red background */
    color: white;
}

#backButton {
    background-color: #2196F3; /* Blue background */
    color: white;
}

/* Comment Styles */
.comment {
    font-size: 18px;
    color: #333; /* Darker text color for better readability */
    background-color: #f9f9f9; /* Light background for contrast */
    border: 1px solid #ccc; /* Border for definition */
    border-radius: 5px; /* Rounded corners */
    padding: 10px; /* Padding for spacing */
    margin-top: 20px; /* Space above the comment */
    text-align: center; /* Center the text */
    width: 80%; /* Width of the comment box */
}

.summary-bar {
    margin-top: 15px; /* Space above the summary bar */
    padding: 10px; /* Padding around the comment */
    border-radius: 5px; /* Rounded corners */
    background-color: rgba(255, 255, 255, 0.9); /* Light background for contrast */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    font-size: 16px; /* Font size for readability */
    color: #333; /* Dark text color */
    text-align: center; /* Center the text */
    transition: background-color 0.3s ease; /* Smooth transition for background color */
}

.summary-bar.green {
    background-color: rgba(76, 175, 80, 0.9); /* Green background for positive comments */
    color: white; /* White text for contrast */
}

.summary-bar.red {
    background-color: rgba(244, 67, 54, 0.9); /* Red background for negative comments */
    color: white; /* White text for contrast */
}

/* Dashboard Styles */
.dashboard {
    background: linear-gradient(135deg, #f0f4c3, #c5e1a5); /* Soft green gradient */
    padding: 20px;
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); /* Deeper shadow for depth */
    animation: fadeIn 0.5s ease; /* Fade-in animation */
}

/* Title Styles */
.dashboard-title {
    text-align: center;
    color: #2e7d32; /* Dark green for title */
    font-size: 2.5em; /* Larger font size */
    margin-bottom: 20px; /* Space below the title */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2); /* Subtle text shadow */
}

/* Dashboard Content */
.dashboard-content {
    display: flex;
    flex-direction: column; /* Stack elements vertically */
    align-items: center; /* Center items horizontally */
    padding: 20px; /* Add padding around the dashboard */
}

.card {
    display: flex;
    flex-direction: column; /* Stack elements vertically */
    justify-content: space-between; /* Space between elements */
    align-items: center; /* Center items horizontally */
    background-color: rgba(255, 255, 255, 0.9); /* White background for cards */
    border-radius: 10px; /* Rounded corners */
    padding: 20px;
    margin: 10px;
    width: 250px; /* Fixed width for cards */
    max-width: 100%; /* Allow cards to be responsive */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Shadow for depth */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Animation for hover effect */
    position: relative; /* Position for pseudo-elements */
    overflow: hidden; /* Hide overflow for pseudo-elements */
    box-sizing: border-box; /* Include padding and border in total width/height */
}

.card:hover {
    transform: translateY(-5px); /* Lift effect on hover */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); /* Deeper shadow on hover */
}

.card h2 {
    color: #4CAF50; /* Green color for headings */
    font-size: 1.5em; /* Font size for headings */
    margin-bottom: 10px; /* Space below heading */
}

.card p {
    color: #666; /* Lighter text for descriptions */
    font-size: 1em; /* Font size for descriptions */
    margin-bottom: 15px; /* Space below description */
}

/* Button Styles */
.interactive-button {
    width: 100%; /* Full width for buttons */
    padding: 10px; /* Padding for buttons */
    margin-top: 10px; /* Space above buttons */
    border: none;
    border-radius: 5px;
    background-color: #4CAF50; /* Green background */
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease; /* Smooth transition */
}

.interactive-button:hover {
    background-color: #45a049; /* Darker green on hover */
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .dashboard-content {
        padding: 10px; /* Reduce padding on smaller screens */
    }
    
    .cards {
        flex-direction: column; /* Stack cards vertically on small screens */
        align-items: center; /* Center cards */
    }
    
    .card {
        width: 90%; /* Make cards take 90% of the width on small screens */
        max-width: none; /* Remove max-width restriction */
    }
    
    .card h2 {
        font-size: 1.2em; /* Adjust font size for headings */
    }
    
    .interactive-button {
        padding: 8px; /* Adjust padding for buttons */
    }
}

/* Goals Area Styles */
#goalAreaScreen {
    background-color: #f4f4f4; /* Light gray background for the entire goals area */
    padding: 30px; /* Increased padding for a larger area */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Shadow for depth */
    max-width: 600px; /* Maximum width for the goals area */
    margin: 20px auto; /* Center the goals area */
}

/* Title Styles */
.goals-title {
    text-align: center; /* Center the title */
    background: linear-gradient(135deg, #ff00a2e8, #ffcc00, #4CAF50); /* Colorful gradient background */
    font-size: 2.5em; /* Larger font size */
    margin-bottom: 20px; /* Space below the title */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1); /* Subtle text shadow */
}

/* Goals Input Styles */
.goal-input {
    display: flex;
    justify-content: space-between; /* Space between input and button */
    align-items: center; /* Center vertically */
    margin-bottom: 20px; /* Space below the input box */
}

.goal-input input {
    flex-grow: 1; /* Allow input to take available space */
    padding: 10px; /* Padding for input */
    border: 1px solid #ddd; /* Light border */
    
    border-radius: 5px; /* Rounded corners */
    font-size: 16px; /* Font size */
    transition: border-color 0.3s ease; /* Smooth transition */
}

.goal-input input:focus {
    border-color: #4CAF50; /* Change border color on focus */
    outline: none; /* Remove outline */
}

/* Button Styles */
.goal-input button {
    background-color: #4CAF50; /* Green background */
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease; /* Smooth transition */
    margin-left: 10px; /* Space between input and button */
}

.goal-input button:hover {
    background-color: #45a049; /* Darker green on hover */
}

/* Goals List Styles */
#goalsList {
    list-style-type: none; /* Remove default list styling */
    padding: 0; /* Remove padding */
}

#goalsList li {
    display: flex; /* Use flexbox for alignment */
    justify-content: space-between; /* Space between task text and buttons */
    align-items: center; /* Center vertically */
    padding: 10px;
    margin-bottom: 10px;
    background-color: #ffffff; /* White background for tasks */
    border: 1px solid #ddd; /* Light border for tasks */
    border-radius: 4px; /* Rounded corners */
}

/* Button Styles for Goals List */
#goalsList li button {
    background-color: #2196F3; /* Blue background */
    color: white;
    border: none;
    border-radius: 4px;
    padding: 5px 10px;
    cursor: pointer;
    transition: background-color 0.3s ease; /* Smooth transition */
}

#goalsList li button:hover {
    background-color: #1976D2; /* Darker blue on hover */
}

/* Centering the Back to Dashboard Button */
#goalAreaBackButton {
    display: block; /* Make it a block element */
    margin: 20px auto; /* Center it horizontally */
    padding: 10px 20px;
    background-color: #ff3503; /* Blue background */
    color: rgb(26, 18, 18);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease; /* Smooth transition */
}

#goalAreaBackButton:hover {
    background-color: hsl(188, 98%, 50%); /* Darker blue on hover */
}

/* Goal Actions Styles */
.goal-actions {
    display: flex; /* Use flexbox for alignment */
    justify-content: flex-end; /* Align buttons to the right */
    gap: 3px; /* Space between buttons */
    align-items: center; /* Center buttons vertically */
}

#pomodoroTimerScreen .input_box input {
    width: 100%; /* Make the input box take the full width */
    padding: 12px; /* Increase padding for a better feel */
    border: 2px solid #ff6b6b; /* Add a border color that matches the theme */
    border-radius: 8px; /* Make the corners more rounded */
    font-size: 16px; /* Increase font size for better readability */
    transition: border-color 0.3s ease; /* Smooth transition for border color */
}

#pomodoroTimerScreen .input_box input:focus {
    border-color: #ff4d4d; /* Change border color on focus */
    outline: none; /* Remove default outline */
    box-shadow: 0 0 5px rgba(255, 107, 107, 0.5); /* Add a subtle shadow effect */
}

.button-container {
    display: flex; /* Use flexbox for alignment */
    flex-wrap: wrap; /* Allow buttons to wrap to the next line */
    justify-content: center; /* Center the buttons */
    gap: 10px; /* Space between buttons */
    margin-top: 20px; /* Space above the button container */
}

.button-container button {
    flex: 1 1 45%; /* Allow buttons to take up to 45% of the container width */
    max-width: 200px; /* Set a maximum width for buttons */
    padding: 10px; /* Padding for buttons */
    background: #4CAF50; /* Button background color */
    color: white; /* Button text color */
    border: none; /* Remove border */
    border-radius: 5px; /* Rounded corners */
    cursor: pointer; /* Pointer cursor on hover */
    transition: background 0.3s ease; /* Smooth background transition */
}

.button-container button:hover {
    background: #45a049; /* Darker green on hover */
}

.timer-container {
    text-align: center; /* Center the timer text */
    margin-bottom: 20px; /* Space below the timer */
}

#countdown {
    font-size: 64px; /* Increase font size for visibility */
    color: #ff6b6b; /* Timer color */
    font-weight: bold; /* Bold text */
    animation: pulse 1.5s infinite; /* Add a pulsing animation */
    transition: color 0.3s ease; /* Smooth color transition */
}

@keyframes pulse {
    0% {
        transform: scale(1);
        color: #ff6b6b; /* Initial color */
    }
    50% {
        transform: scale(1.1); /* Slightly enlarge */
        color: #ff4d4d; /* Change color at peak */
    }
    100% {
        transform: scale(1); /* Return to original size */
        color: #ff6b6b; /* Return to initial color */
    }
}

#timerMessage {
    font-size: 1.5rem; /* Increase font size for the message */
    color: #388e3c; /* Message color */
    text-align: center; /* Center the message */
    margin-top: 20px; /* Space above the message */
    opacity: 0; /* Start hidden */
    animation: fadeIn 0.5s forwards; /* Fade-in animation */
}

@keyframes fadeIn {
    from {
        opacity: 0; /* Start fully transparent */
    }
    to {
        opacity: 1; /* End fully opaque */
    }
}

/* Info Icon and Tooltip Styles */
.exercise-name {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 20px;
  height: 20px;
  background-color: #007bff;
  color: white;
  border-radius: 50%;
  font-size: 14px;
  cursor: pointer;
  position: relative;
}

.info-icon .tooltip {
  visibility: hidden;
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  background-color: #333;
  color: white;
  padding: 10px;
  border-radius: 6px;
  width: 250px;
  font-size: 14px;
  z-index: 1000;
  margin-left: 10px;
  opacity: 0;
  transition: opacity 0.3s;
}

/* Desktop hover */
@media (hover: hover) {
  .info-icon:hover .tooltip {
    visibility: visible;
    opacity: 1;
  }
}

/* Mobile touch */
@media (hover: none) {
  .info-icon:active .tooltip {
    visibility: visible;
    opacity: 1;
  }
  
  /* Add a class for touched state */
  .info-icon.touched .tooltip {
    visibility: visible;
    opacity: 1;
  }
}

/* Arrow for tooltip */
.info-icon .tooltip::before {
  content: "";
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  border-width: 8px;
  border-style: solid;
  border-color: transparent #333 transparent transparent;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .info-icon .tooltip {
    width: 200px;
    font-size: 12px;
    left: 50%;
    top: 100%;
    transform: translateX(-50%);
    margin-left: 0;
    margin-top: 10px;
  }

  .info-icon .tooltip::before {
    right: 50%;
    top: -16px;
    transform: translateX(50%);
    border-color: transparent transparent #333 transparent;
  }
}

.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(35, 2, 2, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.popup-content {
  background: rgb(255, 255, 255);
  padding: 20px;
  border-radius: 10px;
  max-width: 600px;
  max-height: 80%;
  overflow-y: auto; /* Allow scrolling */
}

.popup-body {
  max-height: 400px; /* Set a max height for the body */
  overflow-y: auto; /* Enable scrolling */
}

.hidden {
  display: none;
}

.-button {
    width: 200px; /* Set a width for the button */
    height: 60px; /* Set a height for the button */
    font-size: 20px; /* Increase font size */
    background-logoutcolor: #ff6b6b; /* Red background color */
    color: white; /* White text color */
    border: none; /* Remove border */
    border-radius: 5px; /* Rounded corners */
    cursor: pointer; /* Pointer cursor on hover */
    margin: 20px auto; /* Center the button */
    display: block; /* Make it a block element */
    transition: background-color 0.3s ease; /* Smooth transition */
    
}

.logout-button:hover {
    background-color: #df1b1b; /* Darker red on hover */
}

/* Media query for smaller screens */
@media (max-width: 1200px) {
  .card {
      width: 180px; /* Adjust width for medium screens */
  }
}

@media (max-width: 800px) {
  .card {
      width: 150px; /* Adjust width for smaller screens */
  }
}

@media (max-width: 600px) {
  .card {
      width: 120px; /* Adjust width for very small screens */
  }
}

@media (max-width: 400px) {
  .card {
      width: 100%; /* Make cards full width on very small screens */
  }
}