:root {
    --primary: #1976d2;
    --primary-dark: #1565c0;
    --surface: hsl(0, 0%, 100%);
    --background: #f5f7fa;
    --border-radius: 16px;
    --shadow: 0 2px 8px rgba(25, 118, 210, 0.10);
}

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background: var(--background);
}

.header {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 1.25rem 1.25rem 1.25rem 1.25rem;
    margin: 0 auto 2rem auto;
    min-height: 64px;
    width: 100%;
    box-sizing: border-box;
}

.quote {
    background: var(--surface);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 2rem 1.5rem;
    max-height: 120px;
    max-width: 960px;
    margin: 2rem auto;
    text-align: right;
    background-color: #f0f4fa;
}

.quote-text {
    color: #333;
    line-height: 1.5;
    margin: 0;
    text-align: left;
    display: flex;
}

.quote-author {
    color: #555;
    margin-top: 0.5rem;
    text-align: right;
}

.weather {
    background: var(--surface);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    background-color: #f0f4fa;
    min-width: 280px;
    max-width: 420px;
    padding: 1.5rem 1.5rem 1.5rem 1.5rem;
}

.dashboard-container {
    max-width: auto;
    margin: 2rem auto;
    padding: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.dashboard-notes {
    background: var(--surface);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    max-width: 45%;
    flex: auto;
}

.cat {
    background: var(--surface);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    max-width: 45%;
    padding: 2rem 1.5rem 1.5rem 1.5rem;
}

.cat-image {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    background: var(--surface);
    display: flex;
    max-width: 100%;
    max-height: 100%;
}

h1 {
    color: var(--primary);
    font-weight: 500;
    margin: 0 0 1.5rem 0;
    letter-spacing: 0.5px;
    font-size: 2rem;
    text-align: center;
}

.note-form {
    display: flex;
    gap: 0.5rem;
    background: #f0f4fa;
    border-radius: var(--border-radius);
    padding: 0.5rem;
    box-shadow: 0 1px 3px rgba(25, 118, 210, 0.04);
}

.note-form input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 1rem;
    padding: 0.75rem 1rem;
    outline: none;
}

.note-form button {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0 1.2rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.note-form button:hover {
    background: var(--primary-dark);
}

ul.notes {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

ul.notes li {
    background: #f8fafc;
    border-radius: var(--border-radius);
    padding: 0.9rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 1px 2px rgba(25, 118, 210, 0.03);
    font-size: 1.05rem;
}

ul.notes li button {
    color: #e53935;
    text-decoration: none;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

ul.notes li a:hover {
    color: #b71c1c;
}

.tooltip-visible {
    position: absolute;
    background: #e53935;
    /* Material Red 600 */
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(229, 57, 53, 0.18), 0 1.5px 4px rgba(25, 118, 210, 0.10);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    white-space: nowrap;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 0.5em;
    animation: fadein 0.3s;
    border: 1px solid #ffcdd2;
    /* Light red border for accent */
}

.tooltip-visible .material-icons {
    font-size: 1.2em;
    margin-right: 0.3em;
}

@keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.weather-title {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 0.7rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.weather-title .material-icons {
    font-size: 1.3rem;
}

.weather-item {
    color: #333;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.3rem;
}

.footer {
    background: var(--surface);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin: 2rem auto 0 auto;
    padding: 1rem 3rem;
    max-width: 100%;
    font-size: 0.85rem;
    color: #555;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    display: flex;
    justify-content: center;
    gap: 1rem;
    align-items: center;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 0.5rem;
}