@import url('https://fonts.googleapis.com/css2?family=Sniglet:wght@400;800&display=swap');
:root {
    --light-blue: #ebf1ff;
    --accent-blue: #adc6ff;
    --accent-purple: #d7c5ff;
    --light-purple: #f1ebff;
    --soft-blue: #d6e2ff;

/*--Standard colors --*/
    --card-bg: #ffffff;
    --text-main: #1e293b;
    --text-muted: #64748b;
}

/*--Base & Font --*/
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/*--Main Layout --*/
body {
    background-color: var(--light-blue);
    color: var(--text-main);
    display: flex;
    min-height: 100vh;
    /* Use the Sniglet font for the body */
    font-family: "Sniglet", cursive;
    font-weight: 400;
    font-style: normal;
}

/*--Left Sidebar --*/
header{
    width: 240px;
    background-color: var(--light-purple);
    padding: 2rem;
    border-right: 1px solid var(--card-bg);
}

/*--Main Content --*/
main{
    flex: 1;
    padding: 1rem;
}

/*--Right Sidebar --*/
aside{
    max-width: 320px;
    width: 100%;
    background-color: var(--card-bg);
    padding: 2rem;
    border-left: 1px solid var(--soft-blue);
}

/*--Card Styling --*/
main section, 
aside section {
    background-color: var(--card-bg);
    border-radius: 16px; 
    padding: 1.5rem;
    margin-bottom: 1.5rem; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03); 
    border: 1px solid var(--soft-blue); 
}

/* Greeting Banner */
#greeting {
    background-color: var(--soft-blue);
    border: none;
}

ul{
    list-style: none;
    margin: 0;
    padding: 0;
}

/*---------------NAVIGATION MENU---------------*/
header ul{
    list-style: none;
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

header li a{
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    font-size: 1.1rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    display: block;
    transition: background-color 0.2s ease;
}

header li a:hover{
    background-color: var(--soft-blue);
}

/*---------------- Footer ------------------*/
footer {
    text-align: center;
    padding: 2rem; 
    color: var(--text-muted);
}

footer hr{
    border: none;
    border-top: 1px solid var(--soft-blue);
    margin: 1rem;
}

footer a{
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

footer a:hover{
    color: var(--accent-purple );
}

/*---------------- Task List & Checkboxes ------------------*/
input[type="checkbox"]:checked + label{
    text-decoration: line-through;
    color: var(--text-muted);
    transition: all 0.2s ease;
}

/*---------------- Login Page Layout ------------------*/
.login-layout {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
}

.login-card {
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.login-logo{
    margin-bottom: 1rem;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
    margin-top: 2rem;
}

.login-form input {
    width: 100%;
    padding: 0.5rem;
    margin-top: 0.25rem;
}

.login-footer {
    margin-top: auto;
    width: 100%;
}

@media (max-width: 768px) {
    body {
        flex-direction: column;
    }
    header, aside {
        max-width: 100%;
        width: 100%;
        border: none;
    }
}
