/* styles.css */
body {
    background-color: #f8f9fa;
}

.card {
    max-width: 600px;
    margin: auto;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.card-title {
    margin-bottom: 20px;
    color: #333;
}

#input-fields .form-group {
    margin-bottom: 1rem;
}

#qrcode {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    max-width: 100%; /* Constrain QR code to fit within the container */
    overflow: hidden; /* Hide overflow content */
}

.history-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.history-item img {
    max-width: 80px;
    margin-right: 10px;
}

.history-item .btn {
    margin-left: 5px;
}

.qr-info {
    flex-grow: 1;
    margin-left: 10px;
}

.qr-info p {
    margin: 0;
    font-size: 0.875rem;
    color: #555;
}

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

    .btn {
        width: 100%;
    }

    #history {
        max-height: 150px;
    }

    .history-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .history-item .btn {
        margin-left: 0;
        margin-top: 5px;
    }
}
