body {
  margin: 0;
  font-family: 'Quicksand', sans-serif;
  background-color: #121212;
  color: #f8f8f8;
}

.main-body {
  margin: auto;
  align-content: center;
  font-family: 'Quicksand', sans-serif;
  background-color: #121212;
  color: #f8f8f8;
}

.main-header {
  background-color: #ff007f;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  text-align: center;
}

.main-header h1 {
  margin: 0;
  font-size: 1.6rem;
}
.main-header p {
  margin: 0.2rem 0;
}
.logo-left, .logo-right {
  width: 60px;
}
.logo-left img, .logo-right img {
  width: 100%;
}

.main-nav {
  background-color: #00eaff;
  text-align: center;
  padding: 0.16rem;
}
.main-nav a {
  color: #000;
  text-decoration: none;
  margin: 0 1rem;
  font-weight: bold;
  transition: all 0.2s ease-in-out;
}
.main-nav a:hover {
  text-decoration: underline;
  text-shadow: 0 0 5px #fff, 0 0 10px #f0f, 0 0 15px #0ff;
  transform: scale(1.1);
}

/* Dropdown container */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Style for dropdown button */
.dropbtn {
    padding: 10px;
    display: inline-block;
}

/* Dropdown menu (hidden by default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #333;
    min-width: 180px;
    z-index: 1;
    border: 1px solid #555;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

/* Links inside the dropdown */
.dropdown-content a {
    color: #fff;
    padding: 10px 15px;
    text-decoration: none;
    display: block;
}

/* Hover effects */
.dropdown-content a:hover {
    background-color: #444;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-content {
    display: block;
}


.site-footer {
  background-color: #222;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
  font-size: 0.85rem;
  color: #aaa;
}

.content-area {
    width: 80%;
    margin-top: 0;
    margin-bottom: 0;
    margin-left: 15px;
    margin-right: 320px;
}

.login-container {
    max-width: 400px;
    margin: 50px auto;
    padding: 20px;
    background-color: #1e1e1e;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.1);
}

.landing-area {
  clear: both;
  padding: 20px;
  background-color: #1e1e1e;
  margin-top: 50px;
}

.task-card {
    background-color: #222; /* soft dark for contrast */
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.1);
    transition: transform 0.2s ease-in-out;
    overflow: hidden; /* Helps clip any bleed */
}

.task-card:hover {
    /*  transform: scale(1.02); */
    box-shadow: 0 6px 12px rgba(255, 255, 255, 0.2);
}

.task-card.completed {
    border-left: 5px solid #66ff99;
    background-color: #1e3b2c;
}

.task-card.focus {
    border-left: 5px solid #ffcc00;
    background-color: #3a2e1e;
}

.task-card.warning {
    border-left: 5px solid #ff6699;
    background-color: #3a2e1e;
}

.task-card.pending {
    border-left: 5px solid #66ccff;
    background-color: #1e2e3b;
}

.task-actions {
    margin-top: 15px;
}

.task-actions a {
    margin-right: 10px;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: bold;
    display: inline-block;
    transition: all 0.2s;
}

.task-actions .btn-success {
    background-color: #66ff99;
    color: #000;
    font-size: 1.1rem;
    padding: 10px 20px;
    border-radius: 8px;
}

.task-actions .btn-warning {
    background-color: #ffcc00;
    color: #000;
    font-size: 1.1rem;
    padding: 10px 20px;
    border-radius: 8px;
}

.task-actions .btn-danger {
    background-color: #ff6699;
    color: #000;
    font-size: 1.1rem;
    padding: 10px 20px;
    border-radius: 8px;
}

.task-actions a:hover {
    opacity: 0.8;
}

.form-row {
    margin-bottom: 1rem;
}

form input[type="text"],
form input[type="date"],
form input[type="number"],
form input[type="password"],
form input[type="email"],
form input[type="time"],
form select,
form textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px;
    border-radius: 10px;
    border: none;
    font-size: 1.1rem;
    background-color: #1e1e1e;
    color: #fff;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease-in-out;
}

.frm-button {
    background-color: #46dae7;
    color: #000;
    font-size: 1.1rem;
    padding: 10px 20px;
    border-radius: 8px;
}
.frm-button:hover {
    background-color: #ef0059;
    color: #000;
    font-size: 1.1rem;
    padding: 10px 20px;
    border-radius: 8px;
}

form input[type="text"]:focus,
form input[type="date"]:focus,
form input[type="time"]:focus,
form select:focus,
form textarea:focus {
    outline: none;
    box-shadow: 0 0 8px #00eaff;
    background-color: #2a2a2a;
}

form textarea {
    min-height: 120px;
    resize: vertical;
}

form input[type="range"] {
    width: 100%;
}

.editable {
    min-height: 100px;
    border: 1px solid #444;
    padding: 10px;
    background-color: #1c1c1c;
    color: #f0f0f0;
    border-radius: 5px;
    margin-top: 4px;
    overflow-y: auto;
}
.editable:focus {
    outline: 2px solid #00bfff;
}

.toast-notice {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #222;
    color: #fff;
    padding: 1em 2em;
    border-radius: 8px;
    z-index: 99999; /* Make sure this is higher than any other element */
    font-size: 1.2em;
    opacity: 0.97;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    pointer-events: auto; /* Ensure the toast itself can receive pointer events */
}
.toast-notice.show {
    opacity: 1;
    transform: translateY(0);
}
.toast-notice button {
    background: #fff;
    color: #222;
    border: none;
    border-radius: 4px;
    padding: 0.3em 0.8em;
    margin-left: 1em;
    cursor: pointer;
    font-size: 1em;
}
.toast-notice button:hover {
    background: #ffd54f;
    color: #222;
}

.toast-notice.success { background-color: #66ff99; color: #000; }
.toast-notice.error { background-color: #ff6699; color: #000; }
.toast-notice.warning { background-color: #ffcc00; color: #000; }
.toast-notice.info { background-color: #00eaff; color: #000; }

.task-bullet-list {
    line-height: 2;
    text-decoration: none;
}
.task-bullet-list a a:visited a:active{
    text-decoration: none;
    color: #00eaff;
}
.task-bullet-list a:hover {
    color: #ff007f;
    text-decoration: none;
}

/* 🐻 Mama Bear AI Sidebar Styles */
#ai_sidebar_container {
  position: fixed;
  bottom: 0;
  margin-top: 15;
  right: 0;
  height: 82vh;
  width: 300px;
  z-index: 9999;
  border-left: 3px ridge #00eaff;
  background: #1e1e1e;
  box-shadow: -2px 0 5px rgba(0,0,0,0.3);
  font-family: 'Segoe UI', sans-serif;
}

#ai_sidebar {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: white;
}

.ai-sidebar-hidden #ai_sidebar {
  display: none;
}

#ai_sidebar_open_btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  padding: 10px 16px;
  background-color: #ff69b4;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
}

.ai-sidebar-header {
  padding: 10px;
  justify-content: space-between;
  background: #333;
  padding: 10px;
  font-weight: bold;
  border-bottom: 1px solid #444;
}

#toggle_ai_sidebar {
  background: none;
  border: none;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

#ai_chat_scroll {
  flex-grow: 1;
  overflow-y: auto;
  padding: 10px;
  font-size: 0.95em;
  line-height: 1.4;
}

/* Input Area */
.ai-input {
  padding: 10px;
  background: #222;
  display: flex;
  gap: 5px;
}

.ai-input input {
  flex-grow: 1;
  padding: 6px 8px;
  border: 1px solid #444;
  border-radius: 4px;
  background: #111;
  color: #fff;
}

.ai-input button {
  background: #ff55aa;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 6px 12px;
  cursor: pointer;
}

#ai_response_display {
  white-space: pre-wrap;
  font-size: 14px;
  line-height: 1.5;
  padding: 10px;
  color: #fefefe;
}

.chat-user, .chat-bear {
  margin: 5px 0;
  padding: 8px 10px;
  border-radius: 6px;
  max-width: 95%;
  word-wrap: break-word;
}

.chat-user {
  background-color: #444;
  text-align: right;
}

.chat-bear {
  background-color: #222;
  text-align: left;
}


.kickoff-button {
	background-color:#ff55aa;
	border-radius:13px;
	border:1px solid #00eaff;
	display:inline-block;
	cursor:pointer;
	color:#ffffff;
	font-family:Trebuchet MS;
	font-size:17px;
	font-weight:bold;
	padding:16px 31px;
	text-decoration:none;
}
.kickoff-button:hover {
	background-color:#00eaff;
}
.kickoff-button:active {
	position:relative;
	top:1px;
}

.gamification-banner {
    background: linear-gradient(90deg, #ffe082 0%, #ffd54f 100%);
    color: #333;
    padding: 1.5em 2em;
    border-radius: 12px;
    margin: 1em 0 2em 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    text-align: center;
    font-size: 1.2em;
}
.gamification-banner h3 {
    margin: 0 0 0.5em 0;
}