body {
    font-family: Arial, sans-serif;
    background: #f5f5f5;
    margin: 0; padding: 0;
}

#container {
    background: #fff;
    max-width: 700px;
    margin: 40px auto;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

h1 {
    font-size: 1.5em;
    margin-bottom: 16px;
}

.label {
    font-weight: bold;
}

.histogram-label {
    text-align:center;
    font-size:0.9em;
    color:#555;
    margin-top:8px;
}

canvas {
    display: block;
    margin: 0 auto;
    width: 100% !important;
    height: auto !important;
}

.footer {
    font-family: Arial, sans-serif;
    font-size: 11px;
}

.footer-center {
    text-align: center;
    margin-top: 10px;
}

#layout {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    max-width: 1100px;
    margin: 40px auto;
}

#main-column {
    flex: 1;
    position: relative;
}

#top-buttons {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 10px;
}

#logoutBtn {
    font-size: 13px;
    text-decoration: none;
    color: #3498db;
    display: none; /* default status */
    align-items: center;
    gap: 6px;
}

.price-row {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

#refreshBtn {
    display: flex;
    align-items: center;
    padding: 4px;
    text-decoration: none;
    color: #3498db;
}

#refreshBtn svg {
    width: 18px;
    height: 18px;
}

#side-column {
    display: none; /* default status */
    width: 300px;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    height: fit-content;
}

#auth-box {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

button {
    display: flex;
    align-items: center;
    gap: 6px;
    background-color: #888;
    color: white;
    border: none;
    padding: 6px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 11px;
}

.center-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

button svg {
    width: 14px;
    height: 14px;
    vertical-align: middle;
}

/* responsive - on phone in one column */
@media (max-width: 900px) {
    #layout {
        flex-direction: column;
    }

    #side-column {
        width: 100%;
    }
}

.profile-link {
    text-decoration: none;
    margin-bottom: 10px;
    font-size: 13px;
    color: #3498db;
    display: none; /* default status */
    align-items: center;
    gap: 6px;
}

.profile {
    color: #3498db;"
}

.login-item {
    display: none; /* default status */
}
