body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

.container {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.title {
    text-align: center;
    color: #0066aa;
    margin-bottom: 2rem;
}
.title i {
    margin-right: 0.5rem;
}

.input-container {
    margin-bottom: 1.5rem;
}

h2 {
    color: #0066aa;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

h2 i,
label i {
    color: #0066aa;
    margin-right: 0.4rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.input {
    width: 100%;
    padding: 0.5rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.input-icon {
    display: flex;
    align-items: center;
}

.input-icon .input {
    flex-grow: 1;
    margin-right: 0.5rem;
}

.icon-button {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: #0066aa;
}

.multiline {
    min-height: 100px;
    resize: vertical;
}

.button {
    display: block;
    width: 100%;
    padding: 0.75rem;
    background-color: #0066aa;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    margin-bottom: 0.75rem;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #004e80;
}

.button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.cancel {
    background-color: #d9534f;
}

.cancel:hover {
    background-color: #c9302c;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fefefe;
    padding: 2rem;
    border-radius: 10px;
    width: 90%; /* Make modal content take 90% of the page width */
    height: 90%; /* Make modal content take 90% of the page height */
    max-width: none; /* Ensure it doesn't get restricted by max-width */
}

.bottle-input {
    width: 60px;
    padding: 0.3rem;
    margin-left: 0.5rem;
    margin-bottom: 0.5rem;
}

.remember-details {
    background: #f0f8ff;
    border: 1px solid #cfe2f3;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
}

.toggle-wrapper {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
}

.toggle-label {
    font-weight: 600;
    color: #004e80;
}

.toggle-switch {
    position: relative;
    width: 50px;
    height: 26px;
    display: inline-block;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 999px;
}

.toggle-slider::before {
    position: absolute;
    content: '';
    height: 20px;
    width: 20px;
    left: 3px;
    top: 3px;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: 0.3s;
}

.toggle-switch input:checked + .toggle-slider {
    background-color: #27ae60;
}

.toggle-switch input:checked + .toggle-slider::before {
    transform: translateX(24px);
}

.toggle-status {
    font-weight: bold;
    color: #27ae60;
}

.remember-details small {
    display: block;
    margin-top: 0.4rem;
    color: #555;
}

@media (max-width: 600px) {
    .container {
        margin: 1rem;
        padding: 1rem;
    }
}
