/* style.css */

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

:root {
    --sidebar-width: 260px;
    --primary: #2563eb;
    --dark: #111827;
    --light: #f9fafb;
    --text: #374151;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #eef2ff, #f8fafc);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
}

/* =========================
   TOP BAR (MOBILE)
========================= */

.topbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    padding: 0 20px;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.logo {
    font-size: 1.3rem;
    font-weight: 700;
    margin-left: 15px;
    color: var(--dark);
}

.menu-toggle {
    border: none;
    background: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--dark);
}

/* =========================
   SIDEBAR
========================= */

.sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: var(--sidebar-width);
    height: 100%;
    background: rgba(17,24,39,0.96);
    backdrop-filter: blur(14px);
    color: var(--white);
    transition: 0.3s ease;
    z-index: 1200;
    padding-top: 30px;
}

.sidebar.active {
    left: 0;
}

.sidebar-header {
    text-align: center;
    margin-bottom: 40px;
}

.sidebar-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-links {
    list-style: none;
}

.nav-links li {
    margin: 10px 0;
}

.nav-links a {
    display: block;
    padding: 14px 30px;
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-size: 1rem;
    transition: 0.2s ease;
    border-left: 4px solid transparent;
}

.nav-links a:hover {
    background: rgba(255,255,255,0.08);
    border-left: 4px solid var(--primary);
    color: var(--white);
}

/* =========================
   OVERLAY
========================= */

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
    z-index: 1100;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* =========================
   MAIN CONTENT
========================= */

.content {
    min-height: 100vh;
    display: flex;
    justify-content: center;   /* horizontal centering */
    /*align-items: center;*/
    align-items: flex-start;   /* move content toward top */
    padding: 90px 25px 60px;
    text-align: center;
}

.hero {
    max-width: 850px;
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(14px);
    border-radius: 24px;

    padding-top: 0px;
    padding-right: 20px; /* left and right used to be 50px */
    padding-bottom: 50px;
    padding-left: 20px;

    box-shadow: var(--shadow);
}

.hero h1 {
    margin-top: 0; /* Prevents margin collapse */

    font-size: 3rem;
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

p.left-align {
  text-align: left; /* Overrides the center alignment */
}

ul.left-align {
    text-align: left; /* Overrides the center alignment */
    list-style: none;        /* Remove default browser bullets */
    padding-left: 0;         /* Clear default left indent */
    margin-left: 0;          /* Clear default left margin */
}
il.left-align {
    display: flex;           /* Use flexbox to align bullet and text */
    align-items: flex-start; /* Keep bullet aligned with the first line of text */
}
li.left-align::before {
    content: "•";            /* Insert a bullet dot */
    flex-shrink: 0;          /* Prevent the dot from getting squeezed */
    /* padding-left: 45px; */
}

.btn {
    display: inline-block;
    margin-top: 10px;
    background: var(--primary);
    color: var(--white);
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    background: #1d4ed8;
}

.rounded-box-container {
  display: flex;
  justify-content: center; /* Centers your box horizontally */
  /*align-items: center;      Centers your box vertically */
  /*min-height: 100vh;        Makes the parent fill the full screen height */
}

.rounded-box {
  border: 2px solid #333333; /* Sets the box border color and thickness */
  border-radius: 12px;        /* Rounds the corners (higher number = more round) */
  padding: 20px;             /* Adds space between the text and the border */
  background-color:  lightgreen; /* #f9f9f9;  Optional: adds a light background color */
  max-width: 500px;          /* Optional: limits the width of the box */
}

/* =========================
   DESKTOP
========================= */

@media (min-width: 992px) {

    .topbar {
        display: none;
    }

    .sidebar {
        left: 0;
    }

    .content {
        margin-left: var(--sidebar-width);
        padding: 60px;
    }

    .hero {
        text-align: center;
    }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    .hero {
        padding: 0, 5px, 35px, 5px; /*35px 25px;*/
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }
}

/* =========================
   LOGIN FORM
========================= */

.login-form {
    width: 100%;
    max-width: 420px;
    margin: 35px auto 0;
}

.input-group {
    margin-bottom: 20px;
}

.input-group input {
    width: 100%;
    padding: 16px 18px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(10px);
    font-size: 1rem;
    color: var(--dark);
    outline: none;
    transition: 0.3s ease;
}

.input-group input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37,99,235,0.12);
    background: rgba(255,255,255,0.9);
}

.input-group input::placeholder {
    color: #6b7280;
}

.login-btn {
    width: 100%;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.create-account {
    margin-top: 28px;
}

.create-account a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

.create-account a:hover {
    opacity: 0.8;
}

/* =========================
   LOGIN PAGE
========================= */

/*.login-container {
    max-width: 480px;
    width: 100%;
}

.subtitle {
    margin-top: 10px;
    margin-bottom: 35px;
    color: #6b7280;
    font-size: 1rem;
}

.login-form {
    width: 100%;
}

.input-group {
    text-align: left;
    margin-bottom: 24px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
}

.input-group input {
    width: 100%;
    padding: 16px;
    border-radius: 14px;
    border: 1px solid #d1d5db;
    background: rgba(255,255,255,0.9);
    font-size: 1rem;
    transition: 0.3s ease;
    outline: none;
}

.input-group input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37,99,235,0.12);
}

.login-btn {
    width: 100%;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 10px;
}

.create-account {
    margin-top: 25px;
}

.create-account a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

.create-account a:hover {
    opacity: 0.8;
}*/

/* =========================
   MOBILE ADJUSTMENTS
========================= */

/*@media (max-width: 768px) {

    .login-container {
        padding: 35px 25px;
    }

    .input-group input {
        padding: 14px;
    }

}*/