/* Reset and global styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    transition: background-color 0.3s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

.container {
    max-width: 800px;
    padding: 2rem;
    text-align: center;
}

/* Theme switcher */
.theme-switch {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    margin: 0 1rem;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
}

input:checked + .slider {
    background-color: #2196f3;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* Input container */
.input-container {
    margin-bottom: 2rem;
}

.input-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 1rem 0;
}

.input-field {
    margin-top: 0.5rem;
    padding: 0.5rem;
    width: 80%;
    max-width: 200px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: white;
    color: #333;
}
.night .input-field {
    background-color: #333;
    color: white;
    border-color: #555;
}

/* Responsive styles for mobile devices */
@media screen and (max-width: 480px) {
    .input-field {
        width: 100%;
        max-width: 200px;
    }
}



.calculate-btn {
    background-color: #2196f3;
    border: none;
    color: white;
    padding: 0.5rem 1rem;
    text-transform: uppercase;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}
.calculate-btn-salmon {
    background-color: #ff6347;
    border-color: #ff6347;
    border: none;
    color: white;
    padding: 0.5rem 1rem;
    text-transform: uppercase;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}

.calculate-btn:hover {
    background-color: #1976d2;
}

/* Day theme */
.day {
    background-color: #ffffff;
    color: #000000;
}

.day .material-icons {
    color: #000000;
}

/* Night theme */
.night {
    background-color: #34495e;
    color: #ecf0f1;
}

.night .material-icons {
    color: #ffffff;
}
/* Sleep cycle list */
ul {
    list-style-type: none;
    padding-left: 0;
}

li {
    display: inline-block;
    border: 1px solid;
    border-radius: 4px;
    padding: 0.5rem 1rem;
    margin: 0.5rem;
    font-weight: bold;
}
.label {
    margin-top: 1rem;
}
