
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f0f0f0;
    color: #333;
    margin: 0;
    padding: 0;
}

.header {
    width: 100%;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;

}

.logo-container {
    display: flex;
    align-items: center;
    padding-left: 20px;
}

.logo-image {
    width: 100px;
    margin-right: 20px;
}

.container {
    max-width: 600px;
    margin: 80px auto;
    background-color: #fff; 
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.container > * {
    margin-bottom: 20px;
}

h1 {
    text-align: center;
    color: #333;
}

form {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

label {
    margin-bottom: 5px;
    color: #333;
}

input,
button {
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    background-color: #28a745;
    color: white;
    border: none;
    cursor: pointer;
}

button:hover {
    background-color: #218838;
}

.summary {
    text-align: center;
    margin-bottom: 20px;
}

#expense-list li {
    list-style: none;
    padding: 10px;
    background-color: #f7f7f7;
    margin-bottom: 10px;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
}

.receipt-img {
    max-width: 100px;
    cursor: pointer;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.modal-content {
    max-width: 80%;
}

.close {
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}

body.dark-mode {
    background-color: #121212;
    color: #e0e0e0;
}

.container.dark-mode {
    background-color: #000;
    color: #fff;
}


button.dark-mode {
    background-color: #007bff;
}

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

#expense-list li.dark-mode {
    background-color: #2a2a2a;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 25px;
    margin-right: 10px;
}

.switch input {
    display: none;
}

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

.slider:before {
    content: "";
    position: absolute;
    left: 4px;
    bottom: 4px;
    width: 18px;
    height: 18px;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.2s ease;
}

input:checked + .slider {
    background-color: #007bff;
}

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

@media (max-width: 600px) {
    .header {
        flex-direction: column;
        align-items: flex-start;
    }
    .logo-image {
        margin-bottom: 10px;
    }
    
    .container {
        margin: 80px 10px;
    }
}

.theme-icon {
    cursor: pointer;
    margin-right: 20px;
}
