body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: #f0f0f0;
}

.container {
    text-align: center;
    position: relative;
}

.hydration-widget {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 300px;
    text-align: center;
}

.bottle-container {
    position: relative;
    width: 100px;
    height: 300px;
    margin: 20px auto;
}

.bottle {
    position: relative;
    width: 100%;
    height: 100%;
    border: 2px solid #007bff;
    border-radius: 10px;
    overflow: hidden;
}

.water {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 0;
    background-color: #007bff;
    transition: height 0.5s ease;
    z-index: 1;
}

.water-intake-display {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

#water-intake-text {
    margin: 0;
    padding: 5px;
    font-size: 14px;
    text-align: center;
    color: #333;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 5px;
    max-width: 90%;
    word-wrap: break-word;
}

.hidden {
    display: none;
}

.login-container {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 500px;
    text-align: left;
    margin-top: 20px;
}

.login-container h1 {
    text-align: center;
    color: #007bff;
}

.restricted-content-section {
    margin: 20px 0;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid #007bff;
}

.restricted-content-section h2 {
    color: #333;
    font-size: 1.2rem;
    margin-top: 0;
}

.restricted-content-section ul {
    padding-left: 20px;
}

.restricted-content-section li {
    margin-bottom: 8px;
    line-height: 1.4;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 100;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    z-index: 101;
    width: 300px;
    max-width: 90%;
}

.modal-content {
    text-align: center;
}

.modal-content h2 {
    color: #007bff;
    margin-top: 0;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #777;
}

.close-button:hover {
    color: #333;
}

#confirm-reset {
    margin-top: 15px;
    width: auto;
    min-width: 100px;
    padding: 8px 15px;
}

h1 {
    margin-bottom: 20px;
}

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

.input-group label {
    display: block;
    margin-bottom: 5px;
}

.input-group input {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
}

button {
    width: 100%;
    padding: 10px;
    border: none;
    background-color: #007bff;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: #0056b3;
}

.login-icon {
    width: 30px;
    height: 30px;
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #007bff;
    border-radius: 50%;
    cursor: pointer;
}

.login-icon:hover {
    background-color: #0056b3;
}