body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f5f5f5;
}

h1 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 20px;
}

#total-paid-container {
    text-align: center;
    font-size: 24px;
    margin-bottom: 20px;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

#card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.card {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 16px;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 220px;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    background-color: #f0f0f5;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.card.collected {
    background-color: #19a62c;
    border-color: #19a62c;
}

.card img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.edit-menu {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    width: 300px;
}

.edit-menu h3 {
    text-align: center;
    font-size: 20px;
    margin-bottom: 20px;
}

.edit-menu label {
    display: block;
    margin-bottom: 15px;
    font-size: 14px;
}

.edit-menu select,
.edit-menu input {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
}

.edit-menu button {
    width: 100%;
    padding: 12px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 10px;
    margin-top: 15px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.edit-menu button:hover {
    background-color: #0056b3;
}

.edit-menu .cancel {
    background-color: #f44336;
}

.edit-menu .cancel:hover {
    background-color: #d32f2f;
}

.button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #0056b3;
}

#card-container button {
    background-color: #007aff;
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 12px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#card-container button:hover {
    background-color: #005bb5;
    transform: translateY(-2px);
}

#card-container button:active {
    background-color: #00498d;
    transform: translateY(1px);
}

#card-container select {
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 25px;
    border: 1px solid #e0e0e0;
    margin-bottom: 20px;
    width: 250px;
    background-color: #ffffff;
    background-image: linear-gradient(45deg, #f9f9f9, #e0e0e0);
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#card-container select:focus {
    border-color: #007aff;
    box-shadow: 0 0 8px rgba(0, 122, 255, 0.5);
}

#card-container select:hover {
    background-color: #f0f0f5;
}

#card-container input[type="text"] {
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 25px;
    border: 1px solid #e0e0e0;
    margin-bottom: 20px;
    width: 250px;
    background-color: #ffffff;
    background-image: linear-gradient(45deg, #f9f9f9, #e0e0e0);
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#card-container input[type="text"]:focus {
    border-color: #007aff;
    box-shadow: 0 0 8px rgba(0, 122, 255, 0.5);
}

#card-container input[type="text"]:hover {
    background-color: #f0f0f5;
}

.not-authorized-message {
    padding: 10px;
    border-radius: 5px;
    color: white;
    font-size: 14px;
    margin-bottom: 10px;
    display: inline-block;
}

.not-authorized-message.authorized {
    background-color: lightblue;
}

.not-authorized-message.unauthorized {
    background-color: red;
}

#total-price {
    text-align: center;
    font-size: 20px;
    margin-top: -10px;
    margin-bottom: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #333;
    font-weight: 500;
}