/* ---------- Global Page Styling ---------- */
body {
    background-color: black;
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* ---------- Landing Page Logo ---------- */
.logo-landing-page {
    width: 300px;
    display: block;
    margin: 0 auto;
}

/* ---------- Landing Page Text ---------- */
h1 {
    font-size: 48px;
    margin-top: 20px;
    text-align: center;
}

p {
    font-size: 20px;
    text-align: center;
    margin: 20px;
}

/* ---------- Main Button (Landing Page) ---------- */
.btn {
    display: block;
    width: fit-content;
    padding: 12px 24px;
    font-size: 18px;
    color: white;
    background-color: #007BFF;
    text-decoration: none;
    border-radius: 8px;
    margin: 20px auto;
    transition: background 0.2s ease;
}

.btn:hover {
    background-color: #004895;
}

/* Center container (works without touching body!) */
.signup-page {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
}

/* Form Card */
.signup-form {
    width: 360px;
    padding: 30px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Heading */
h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 32px;
    color: white;
    text-shadow: 0 0 8px rgba(0,0,0,0.5);
}

/* Labels */
.signup-form label {
    display: block;
    margin-top: 18px;
    margin-bottom: 6px;
    font-weight: bold;
    color: #555;
    font-size: 14px;
}

/* Inputs */
.signup-form input {
    width: 100%;
    box-sizing: border-box;
    padding: 12px;
    font-size: 15px;
    border-radius: 8px;
    border: 1px solid #ccc;
    outline: none;
    transition: 0.2s;
}

.signup-form input:focus {
    border-color: #4d8bff;
    box-shadow: 0 0 5px rgba(77, 139, 255, 0.4);
}

/* Button */
.sbtn {
    width: 100%;
    display: block;
    margin-top: 25px;
    padding: 12px;
    border-radius: 8px;
    border: none;
    background: #4d8bff;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: 0.2s;
}

.sbtn:hover {
    background: #3a73e6;
    transform: translateY(-1px);
}

/* Bottom link */
.signup-form p {
    text-align: center;
    margin-top: 20px;
    color: #777;
}

.signup-form a {
    color: #4d8bff;
    text-decoration: none;
}

.signup-form a:hover {
    text-decoration: underline;
}
/* -------------------------- */
/*     DASHBOARD NAVBAR       */
/* -------------------------- */

.dash-nav {
    width: 100%;
    background: #181818;
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #2f2f2f;
}

.dash-logo {
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
}

.dash-links {
    list-style: none;
    display: flex;
    gap: 22px;
    margin: 0;
    padding: 0;
}

.dash-links li a {
    text-decoration: none;
    color: #d0d0d0;
    font-size: 15px;
    transition: 0.2s ease;
}

.dash-links li a:hover {
    color: #ffffff;
}

.nav-logout-btn {
    background: #e04c4c;
    color: #fff;
    border: none;
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s;
}

.nav-logout-btn:hover {
    background: #c33d3d;
}

/* -------------------------- */
/*        DASHBOARD BODY      */
/* -------------------------- */

.dashboard-main {
    max-width: 900px;
    margin: 30px auto;
    padding: 0 20px;
}

#dashboardWelcome {
    font-size: 32px;
    margin-bottom: 6px;
}

.dashboard-subtitle {
    color: #aaa;
    margin-bottom: 25px;
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 18px;
}

.dashboard-card {
    background: #202020;
    padding: 20px;
    border-radius: 10px;
    color: white;
    text-decoration: none;
    transition: 0.25s ease;
}

.dashboard-card:hover {
    background: #2b2b2b;
    transform: translateY(-3px);
}

.dashboard-card h3 {
    margin-top: 0;
}
/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #1c1c1c;  /* dark shade */
    padding: 15px 30px;
    border-bottom: 1px solid #333;
    font-family: Arial, sans-serif;
}

.nav-left a {
    margin-right: 20px;
    text-decoration: none;
    font-weight: 500;
    color: #e6e6e6;
}

.nav-left .logo {
    font-size: 22px;
    font-weight: 700;
    margin-right: 40px;
    color: #fff;
}

.nav-left a:hover {
    color: #b1b1b1;
    text-decoration: underline;
}

.nav-right .logout-btn {
    text-decoration: none;
    background: #ff3b3b;
    color: #fff;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
}

.nav-right .logout-btn:hover {
    background: #d22f2f;
}


/* DASHBOARD CONTENT */
.dashboard-content {
    padding: 40px;
    text-align: center;
}

/* DASHBOARD CARDS */
.card-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.link-card {
    text-decoration: none;
    color: inherit;
}

.card {
    background: #262626;
    padding: 25px;
    width: 280px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Hover effect for clickable cards */
.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.15);
    cursor: pointer;
}

.card h3 {
    margin-bottom: 8px;
}

.card p {
    color: #c2c2c2;
    margin: 0;
}
.nav-logo {
    width: 70px;
}
.tool-container {
    width: 400px;
    margin: 50px auto;
    text-align: center;
}

.timer-display {
    font-size: 60px;
    margin: 20px;
    font-weight: bold;
}

.timer-buttons button {
    margin: 10px;
    padding: 10px 20px;
    font-size: 18px;
}
#habitInput {
    padding: 10px;
    width: 200px;
}

#habitList li {
    margin: 10px 0;
    font-size: 18px;
}

.doneBtn {
    margin-left: 10px;
}
#fileList li {
    margin: 10px 0;
    font-size: 17px;
}
.flashcard {
    width: 200px;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin: 15px auto;
    text-align: center;
    cursor: pointer;
    transition: 0.2s;
}
.flashcard:hover {
    transform: scale(1.05);
}
.custom-time {
    margin-bottom: 20px;
}

.custom-time input {
    width: 100px;
    padding: 8px;
    margin: 5px;
    text-align: center;
}

.custom-time button {
    padding: 8px 15px;
    font-size: 16px;
}
/* --------------------- */
/* Aesthetic Pomodoro Page */
/* --------------------- */

.pomo-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

.pomo-card {
    width: 450px;
    background: #1e1e1e;
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    text-align: center;
    border: 1px solid #2f2f2f;
}

.pomo-card h2 {
    margin-bottom: 25px;
    color: white;
}

.timer-display {
    font-size: 80px;
    font-weight: 700;
    margin: 25px 0;
    color: #ffffff;
    text-shadow: 0 0 15px rgba(77,139,255,0.4);
}

.custom-time input {
    width: 110px;
    padding: 10px;
    border-radius: 8px;
    border: none;
    margin: 5px;
}

.custom-time button {
    padding: 10px 18px;
    border-radius: 8px;
    background: #4d8bff;
    border: none;
    color: white;
    cursor: pointer;
}

.custom-time button:hover {
    background: #3a73e6;
}

.timer-buttons button {
    padding: 10px 20px;
    border-radius: 8px;
    margin: 10px;
    border: none;
    background: #333;
    color: white;
    cursor: pointer;
    transition: 0.2s;
}

.timer-buttons button:hover {
    background: #4d4d4d;
}
/* Habit tracker styles - dark themed to match site */
.habit-controls {
  display:flex;
  gap:10px;
  justify-content:center;
  align-items:center;
  margin: 22px 0 6px 0;
}

.habit-controls input, .habit-controls select {
  padding:10px;
  border-radius:8px;
  border:1px solid #333;
  background:#121212;
  color:#fff;
  min-width:200px;
}

.habit-list {
  max-width:1000px;
  margin: 20px auto 80px auto;
  display:flex;
  flex-direction:column;
  gap:14px;
}

.habit-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border:1px solid #2b2b2b;
  padding:14px;
  border-radius:12px;
  color:#e6e6e6;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.habit-header {
  display:flex;
  gap:12px;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
}

.habit-title {
  font-weight:700;
  font-size:16px;
}

.habit-header select { background:#121212; color:#fff; padding:6px; border-radius:6px; border:1px solid #333; }

.tiny-btn {
  padding:6px 10px;
  border-radius:8px;
  background:#333;
  color:#fff;
  border:none;
  cursor:pointer;
}

.tiny-btn.danger { background:#772525; }

.habit-stats { display:flex; gap:20px; margin-top:10px; color:#cfcfcf; }

.week-grid, .month-grid { margin-top:14px; }

.week-row { display:flex; gap:8px; justify-content:center; }

.day.cell { width:40px; height:40px; display:flex; align-items:center; justify-content:center; }

.day.cell.empty { background:transparent; }

.day-toggle {
  width:36px; height:36px; border-radius:8px; border:1px solid #333;
  background:#121212; color:#cfcfcf; cursor:pointer;
}

.day-toggle.marked {
  background: linear-gradient(90deg,#4d8bff,#6fb0ff);
  color: #06172b;
  font-weight:700;
  border: none;
}

.habit-footer { margin-top:12px; display:flex; gap:8px; justify-content:flex-end; }

.mark-btn { padding:10px 14px; border-radius:8px; border:none; background:#2b2b2b; color:#fff; cursor:pointer; }
.mark-btn.marked { background: linear-gradient(90deg,#4d8bff,#6fb0ff); color:#03141f; }

/* small screens */
@media (max-width:720px) {
  .day.cell { width:34px; height:34px; }
  .timer-display { font-size:48px; }
  .pomo-card { width: 92%; padding:20px; }
}
/* -------- Habit Tracker Styles (glass, dark) ---------- */

:root{
  --card-bg: rgba(255,255,255,0.03);
  --muted: #bdbdbd;
  --glass-border: rgba(255,255,255,0.04);
}

/* Make sure navbar looks consistent (small touch) */
.navbar { background:#151515; border-bottom:1px solid #222; padding:12px 20px; }
.nav-left .logo { color:#fff; font-weight:700; margin-right:18px; text-decoration:none; }
.nav-left .back-link { color:#bdbdbd; margin-right:12px; text-decoration:none; }

/* card base */
.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border-radius:14px;
  padding:16px;
  border:1px solid var(--glass-border);
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
  margin-bottom:18px;
}
/* FLASHCARDS PAGE */
.fc-body {
    background: #000;
    font-family: "Inter", sans-serif;
    padding: 40px;
    color: #fff;
    text-align: center;
}

.fc-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 30px;
}

.fc-input-row {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.fc-input {
    padding: 12px 15px;
    width: 260px;
    border-radius: 10px;
    border: none;
    outline: none;
    font-size: 16px;
}

.fc-add-btn {
    background: #4d8aff;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
}

.fc-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
    padding: 20px 10%;
}

/* Flashcard Style */
.fc-card {
    perspective: 1000px;
    height: 180px;
    cursor: pointer;
    padding: 20px   ;
}

.fc-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    border-radius: 20px;
}

.fc-card.flipped .fc-inner {
    transform: rotateY(180 deg);
}

.fc-front, .fc-back {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background: #fff;
    color: #000;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    font-size: 20px;
    font-weight: 600;
}

/* Back side */
.fc-back {
    transform: rotateY(180deg);
}

/* Delete button */
.fc-delete {
    position: absolute;
    top: 10px;
    right: 12px;
    background: #ff5252;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    cursor: pointer;
    font-size: 15px;
    z-index: 10;
}


.todo-box {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
    width: 350px;
    box-align: center;
    margin-left: -10px;
}

.todo-box h1 {
    text-align: center;
    margin-bottom: 20px;
    color: #000000;
}

.input-section {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

#task-input {
    flex: 1;
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
}

button {
    padding: 10px 16px;
    background-color: #ff7f50;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
}

button:hover {
    background-color: #ff6333;
}

#task-list {
    list-style: none;
    padding: 0;
}

#task-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 10px 0;
    font-size: 16px;
    color: #333;
    transition: all 0.3s ease;
}

.check {
    cursor: pointer;
    font-size: 20px;
    margin-right: 10px;
}

.task-text {
    flex: 1;
}

.delete {
    cursor: pointer;
    color: #ff4d4d;
    font-size: 18px;
    margin-left: 10px;
}

.completed .task-text {
    text-decoration: line-through;
    color: #888;
}



.category-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: -300px;
    margin-left: 205px;
    margin-right: 100px;
}

.category-tabs button {
    padding: 8px 16px;
    background-color: #ddd;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.category-tabs button:hover {
    background-color: #ccc;
}

.category-tabs button.active {
    background-color: #ff7f50;
    color: white;
}
.task-body{
    margin-top: 300px;
    margin-left: -150px;
}


.text-body {
  font-size: 1.6rem;       
  line-height: 2.2rem;    
  padding: 30px;           
}
      

