:root{
    --btnCol :#043d7a;
}

body {
    font-family:
        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: #000000;
    color: #ffffff;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.add-button{
    margin-bottom:2rem;
   
}
.container {

    background-color: #1c1c1e;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 100%;
    margin: 20px;
}
a{color:burlywood}
h1 {
    text-align: center;
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 20px;
}

#currentDateTime {
    text-align: center;
    color: #d2d9da;
    font-size: 14px;
    margin-bottom: 20px;
}

.input-group {
    margin-bottom: 16px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #ffffff;
    font-weight: 500;
}

input[type="range"] {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    background: #3a3a3c;
    border-radius: 3px;
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--btnCol);
    border-radius: 50%;
    cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background:var(--btnCol);
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

input[type="number"] {
    width: 100%;
    padding: 12px;
    background-color: #2c2c2e;
    border: 1px solid #3a3a3c;
    border-radius: 8px;
    color: #ffffff;
    font-size: 16px;
    box-sizing: border-box;
}

input[type="number"]:focus {
    outline: none;
    border-color: var(--btnCol);
}

textarea {
    width: 100%;
    padding: 12px;
    background-color: #2c2c2e;
    border: 1px solid #3a3a3c;
    border-radius: 8px;
    color: #ffffff;
    font-size: 16px;
    box-sizing: border-box;
    resize: vertical;
}

textarea:focus {
    outline: none;
    border-color: var(--btnCol);
}

button {
    width: 100%;
    padding: 12px;
    background-color: var(--btnCol);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

button:hover:not(:disabled) {
    background-color: #0056cc;
}

button:disabled {
    background-color: #3a3a3c;
    cursor: not-allowed;
}

#result {
    margin-top: 20px;
    text-align: center;
    color: #ffffff;
}

#chartContainer {
    margin-top: 20px;
    background-color: #1c1c1e;
    padding: 16px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

#chartContainer > div {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
}

#notesDisplay {
    margin-top: 16px;
    color: #8e8e93;
    font-style: italic;
}

/* Hamburger menu styles */
.container {
    position: relative; /* needed for absolute-positioned hamburger */
}
.hamburger-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 36px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 6px;
    box-sizing: border-box;
}
.hamburger-line {
    display: block;
    height: 3px;
    background: #ffffff;
    border-radius: 2px;
}
.hamburger-menu {
    position: absolute;
    top: 56px;
    right: 12px;
    width: 320px;
    background: #111111;
    border: 1px solid #2c2c2e;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
    padding: 12px;
    transform-origin: top right;
    transform: scale(0.95);
    opacity: 0;
    pointer-events: none;
    transition:
        opacity 160ms ease,
        transform 160ms ease;
    z-index: 40;
}
.hamburger-menu.open {
    transform: scale(1);
    opacity: 1;
    pointer-events: auto;
}
.hamburger-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.hamburger-menu li + li {
    margin-top: 8px;
}
.hamburger-menu a {
    color: #ffffff;
    text-decoration: none;
    display: block;
    padding: 8px 6px;
    border-radius: 8px;
}
.hamburger-menu a:hover {
    background: #1f1f1f;
}
.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 30;
}
